updated UI, minor fixes
This commit is contained in:
parent
b5280b70a1
commit
755c56ee8a
9 changed files with 175 additions and 98 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue