style: linting and formatting
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { useRouter } from 'next/router';
|
||||
'use client';
|
||||
import { useRouter } from 'next/navigation';
|
||||
import { Button } from '../../components/Button';
|
||||
import { VerticalLayout } from '../../components/VerticalLayout';
|
||||
|
||||
@@ -8,7 +9,7 @@ export default function Home() {
|
||||
return (
|
||||
<VerticalLayout>
|
||||
<h1>Success!</h1>
|
||||
<Button label="Home" onClick={() => router.push('/')} />
|
||||
<Button label='Home' onClick={() => router.push('/')} />
|
||||
</VerticalLayout>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user