feat: restyle LogoutButton and RefreshButton, complete redesign

This commit is contained in:
2026-03-21 22:18:33 +01:00
parent 71fa228013
commit 5360bb51c4
2 changed files with 8 additions and 9 deletions

View File

@@ -1,15 +1,13 @@
'use client';
import { useRouter } from 'next/navigation';
import { Button } from '@/components/ui/Button';
export default function RefreshButton() {
const router = useRouter();
return (
<button
onClick={() => router.refresh()}
className="rounded-md bg-gray-700 px-3 py-1 text-sm hover:bg-gray-600"
>
<Button variant="ghost" size="sm" onClick={() => router.refresh()}>
Refresh
</button>
</Button>
);
}