Create button=>Site link

This commit is contained in:
Ian Philips 2022-09-06 16:38:01 -06:00
parent 8759064ccb
commit f7d027ccc9

View File

@ -1,13 +1,13 @@
import React from 'react' import React from 'react'
import Link from 'next/link'
import { Button } from './button' import { Button } from './button'
import { SiteLink } from 'web/components/site-link'
export const CreateQuestionButton = () => { export const CreateQuestionButton = () => {
return ( return (
<Link href="/create" passHref> <SiteLink href="/create">
<Button color="gradient" size="xl" className="mt-4"> <Button color="gradient" size="xl" className="mt-4 w-full">
Create a market Create a market
</Button> </Button>
</Link> </SiteLink>
) )
} }