Created
November 22, 2021 16:39
-
-
Save iamjohnlong/9c22945f92ecd6aa946c9ce68546d069 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Widget: NextPage = () => { | |
const router = useRouter(); | |
const { extensionUid } = router.query; | |
if (!extensionUid) return null; | |
return ( | |
<> | |
<Wrapper uid={extensionUid as string} declaration={declaration}> | |
<Field /> | |
</Wrapper> | |
<style jsx global>{` | |
html, | |
body { | |
height: auto; | |
} | |
`}</style> | |
</> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment