♻ Refactor Deposit and Register
🏷 Pick a part query types to simplify typing and fix incompatible types
This commit is contained in:
1 parent
8b0aaa287e
commit
aa66694fd5
7 files changed
+197
-146
No files matched your search
@@ -2,11 +2,11 @@ import { ReactComponent as PersonFill } from "bootstrap-icons/icons/person-fill.
|
||||
import clsx from "clsx";
|
||||
import React, { MouseEventHandler } from "react";
|
||||
|
||||
import { User } from "../types";
|
||||
import { AllUsersQuery } from "../types";
|
||||
import styles from "./UserCard.module.css";
|
||||
|
||||
type UserCardProps = {
|
||||
user: User | null;
|
||||
user: AllUsersQuery["allUsers"][0] | null;
|
||||
onUser: MouseEventHandler;
|
||||
active: boolean;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user