chore: removed next-themes debug code

This commit is contained in:
Junseo Park 2021-02-18 20:54:05 +09:00
parent b705ad1717
commit 151e260e09

View File

@ -1,4 +1,3 @@
import { useTheme } from 'next-themes'
import dynamic from 'next/dynamic' import dynamic from 'next/dynamic'
import { useFormik } from 'formik' import { useFormik } from 'formik'
@ -30,7 +29,6 @@ https://github.com/koreanbots
}, },
onSubmit: ()=>{ alert('Pong') } onSubmit: ()=>{ alert('Pong') }
}) })
const { theme, systemTheme } = useTheme()
return <Container paddingTop className='mb-10'> return <Container paddingTop className='mb-10'>
<h1 className='text-4xl font-bold mb-3 mt-3'></h1> <h1 className='text-4xl font-bold mb-3 mt-3'></h1>
<h2 className='text-3xl font-semibold mb-4'></h2> <h2 className='text-3xl font-semibold mb-4'></h2>
@ -52,7 +50,7 @@ https://github.com/koreanbots
<code>{checkBrowser()}</code> <code>{checkBrowser()}</code>
<h2>User-Agent</h2> <h2>User-Agent</h2>
<pre>{navigator.userAgent}</pre> <pre>{navigator.userAgent}</pre>
<h2>Darkmode</h2> {/* <h2>Darkmode</h2>
<table> <table>
<thead> <thead>
<tr> <tr>
@ -68,7 +66,7 @@ https://github.com/koreanbots
<td>{systemTheme}</td> <td>{systemTheme}</td>
</tr> </tr>
</tbody> </tbody>
</table> </table> */}
</div> </div>
</Segment> </Segment>
<Divider /> <Divider />