feat: just linking to pendingBot

This commit is contained in:
Junseo Park 2021-02-14 13:33:26 +09:00
parent 347a326cc6
commit 327bf63839

View File

@ -38,7 +38,7 @@ const Panel:NextPage<PanelProps> = ({ logged, user, submits }) => {
<p className='text-left text-gray-400 text-sm font-medium'> .</p> <p className='text-left text-gray-400 text-sm font-medium'> .</p>
<div className='grid gap-4 2xl:grid-cols-4 md:grid-cols-2 mt-12'> <div className='grid gap-4 2xl:grid-cols-4 md:grid-cols-2 mt-12'>
{ {
submits.map(el=> <SubmittedBotCard key={el.date} href={el.state ? makeBotURL(el) : `/pendingBots/${el.id}/${el.date}`} submit={el} />) submits.map(el=> <SubmittedBotCard key={el.date} href={`/pendingBots/${el.id}/${el.date}`} submit={el} />)
} }
</div> </div>
</div> </div>