Add create market button (#79)

This commit is contained in:
Boa 2022-04-19 08:15:05 -06:00 committed by GitHub
parent e8e19e0e5d
commit 7c7d6815f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
.DS_Store .DS_Store
.idea/
.vercel .vercel
node_modules node_modules

View File

@ -158,6 +158,12 @@ export default function Sidebar() {
buttonContent={<MoreButton />} buttonContent={<MoreButton />}
/> />
</div> </div>
{user && (
<Link href={'/create'}>
<button className="btn btn-primary btn-md mt-4">Create Market</button>
</Link>
)}
</nav> </nav>
) )
} }