22 lines
456 B
TypeScript
22 lines
456 B
TypeScript
import React from "react";
|
|
import Head from "next/head";
|
|
import { NextPage } from "next";
|
|
import { useRouter } from "next/router";
|
|
|
|
import GovVote from "components/pages/GovVote";
|
|
|
|
const GovernanceVote: NextPage = () => {
|
|
const { query } = useRouter();
|
|
|
|
return (
|
|
<>
|
|
<Head>
|
|
<title>ClawDEX</title>
|
|
</Head>
|
|
<GovVote id={String(query["id"])} action={String(query["action"])} />
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default GovernanceVote;
|