Add create market button

This commit is contained in:
Ian Philips 2022-04-18 12:06:05 -06:00
parent b637ab1536
commit 34be9f4c89
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>
) )
} }