Link to market creation from header
This commit is contained in:
parent
70e86155be
commit
73d6e35a74
|
@ -17,11 +17,19 @@ function SignInLink() {
|
|||
return (
|
||||
<>
|
||||
{user ? (
|
||||
<>
|
||||
<Link href="/contract">
|
||||
<a className="text-base font-medium text-white hover:text-gray-300">
|
||||
Create a market
|
||||
</a>
|
||||
</Link>
|
||||
|
||||
<Link href="/account">
|
||||
<a className="text-base font-medium text-green-400 hover:text-gray-300">
|
||||
{user.name}
|
||||
</a>
|
||||
</Link>
|
||||
</>
|
||||
) : (
|
||||
<button
|
||||
className="text-base font-medium text-green-400 hover:text-gray-300"
|
||||
|
|
Loading…
Reference in New Issue
Block a user