Add auto refresh dropdown (#620)

This commit is contained in:
Saeed Vaziry
2025-06-21 22:17:49 +02:00
committed by GitHub
parent 736e27fa4e
commit dd14e69239
8 changed files with 107 additions and 9 deletions

View File

@ -6,6 +6,7 @@ import AppCommand from '@/components/app-command';
import { SiteSwitch } from '@/components/site-switch';
import { usePage } from '@inertiajs/react';
import { SharedData } from '@/types';
import Refresh from '@/components/refresh';
export function AppHeader() {
const page = usePage<SharedData>();
@ -26,7 +27,10 @@ export function AppHeader() {
)}
</div>
</div>
<AppCommand />
<div className="flex items-center gap-2">
<AppCommand />
<Refresh />
</div>
</header>
);
}