mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-23 02:41:02 +00:00
fix warning
This commit is contained in:
@@ -83,7 +83,7 @@ export function App() {
|
||||
return () => {
|
||||
listeners.forEach((unsubscribe) => unsubscribe());
|
||||
};
|
||||
}, []);
|
||||
}, [clearUserAuth, updateUserAuth]);
|
||||
|
||||
const handleSearch = useCallback(
|
||||
(query: string) => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ProfileGame, UserProfile } from "@types";
|
||||
import { UserGame, UserProfile } from "@types";
|
||||
import cn from "classnames";
|
||||
import * as styles from "./user.css";
|
||||
import { SPACING_UNIT, vars } from "@renderer/theme.css";
|
||||
@@ -49,7 +49,7 @@ export const UserContent = ({ userProfile }: ProfileContentProps) => {
|
||||
return t("amount_hours", { amount: numberFormatter.format(hours) });
|
||||
};
|
||||
|
||||
const handleGameClick = (game: ProfileGame) => {
|
||||
const handleGameClick = (game: UserGame) => {
|
||||
navigate(buildGameDetailsPath(game));
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user