mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-05 20:56:13 -05:00
Remove unused imports
This commit is contained in:
parent
e8687b0627
commit
3207cb8805
|
|
@ -32,8 +32,6 @@ import {
|
|||
import { BracketProgressionSelector } from "../../calendar/components/BracketProgressionSelector";
|
||||
import { useTournament } from "./to.$id";
|
||||
|
||||
import styles from "./to.$id.admin.module.css";
|
||||
|
||||
export { action } from "../actions/to.$id.admin.server";
|
||||
|
||||
export default function TournamentAdminPage() {
|
||||
|
|
@ -328,7 +326,7 @@ function TeamActions() {
|
|||
</div>
|
||||
) : null}
|
||||
{selectedAction.inputs.includes("USER") ? (
|
||||
<div className={styles.userSearchContainer}>
|
||||
<div>
|
||||
<UserSearch name="userId" label="User" />
|
||||
</div>
|
||||
) : null}
|
||||
|
|
@ -440,7 +438,7 @@ function StaffAdder() {
|
|||
return (
|
||||
<fetcher.Form method="post" className="stack sm">
|
||||
<div className="stack horizontal sm flex-wrap items-start">
|
||||
<div className={styles.userSearchContainer}>
|
||||
<div>
|
||||
<UserSearch name="userId" label="New staffer" isRequired />
|
||||
</div>
|
||||
<div className="stack horizontal sm items-end">
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ import { useTimeFormat } from "~/hooks/useTimeFormat";
|
|||
import { databaseTimestampToDate } from "~/utils/dates";
|
||||
import { action } from "../actions/u.$identifier.admin.server";
|
||||
import { loader } from "../loaders/u.$identifier.admin.server";
|
||||
import styles from "./u.$identifier.admin.module.css";
|
||||
export { loader, action };
|
||||
|
||||
export default function UserAdminPage() {
|
||||
|
|
@ -49,7 +48,7 @@ function AccountInfos() {
|
|||
const { formatDateTime } = useTimeFormat();
|
||||
|
||||
return (
|
||||
<dl className={styles.dl}>
|
||||
<dl>
|
||||
<dt>User account created at</dt>
|
||||
<dd>
|
||||
{data.createdAt
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user