diff --git a/frontend/src/components/users/Users.tsx b/frontend/src/components/users/Users.tsx index 36ef2f556..4697f89c5 100644 --- a/frontend/src/components/users/Users.tsx +++ b/frontend/src/components/users/Users.tsx @@ -8,6 +8,7 @@ import { Show, } from "solid-js"; import { client } from "../.."; +import { useAppDimensions } from "../../state/DimensionProvider"; import { useAppState } from "../../state/StateProvider"; import { Operation } from "../../types"; import { combineClasses, getId } from "../../util/helpers"; @@ -18,6 +19,7 @@ import Loading from "../shared/loading/Loading"; import s from "./users.module.scss"; const Users: Component<{}> = (p) => { + const { isMobile } = useAppDimensions(); const { ws } = useAppState(); const [users, { refetch }] = createResource(() => client.list_users()); onCleanup( @@ -60,10 +62,13 @@ const Users: Component<{}> = (p) => { {(user) => (
{user.username}
- +