V1 without presentation styling
This commit is contained in:
15
presentation/src/app/word-list/components/go-back-button.tsx
Normal file
15
presentation/src/app/word-list/components/go-back-button.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
'use client'
|
||||
|
||||
import { useRouter } from 'next/navigation'
|
||||
|
||||
export default function GoBackButton() {
|
||||
const router = useRouter()
|
||||
return (
|
||||
<button
|
||||
style={{ position: 'absolute' }}
|
||||
onClick={() => router.push('/presentation')}
|
||||
>
|
||||
Go back to presentation
|
||||
</button>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user