🚧 Start on UserCreate
This commit is contained in:
1 parent
5f332cd365
commit
3274cb96c0
2 files changed
+15
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import { useQuery } from "@apollo/client";
|
||||
import React from "react";
|
||||
|
||||
import { AllUsersDocument } from "../../types";
|
||||
|
||||
export const UserCreate = () => {
|
||||
const { data, loading } = useQuery(AllUsersDocument);
|
||||
|
||||
if (loading) return <div>Loading...</div>;
|
||||
|
||||
const allUsers = data?.allUsers || [];
|
||||
return <div>TODO</div>;
|
||||
};
|
||||
Reference in new issue
Block a user