style: linting and formatting

This commit is contained in:
Riccardo
2023-11-29 19:44:39 +01:00
parent 74ec709155
commit 77a9d50927
23 changed files with 1452 additions and 127 deletions

View File

@@ -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>
);
}