updated UI, minor fixes

This commit is contained in:
lnn0q 2025-04-20 18:10:34 +03:00
parent b5280b70a1
commit 755c56ee8a
9 changed files with 175 additions and 98 deletions

View file

@ -6,10 +6,10 @@ import { gql, useQuery } from '@apollo/client';
import { BooksManyQuery } from '@generated/types';
export const Route = createFileRoute('/')({
component: Index
component: Dashboard
});
function Index() {
function Dashboard() {
const { data, refetch } = useQuery<BooksManyQuery>(getBooksQuery);
return (