Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format UI code and fix lint errors #328

Merged
merged 2 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 0 additions & 43 deletions ui/src/components/BottomNav.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion ui/src/components/Player/DetectionsPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function DetectionsPlayer({
timestamp,
startOffset,
endOffset,
onAudioPlay
onAudioPlay,
}: {
feed: Pick<Feed, "nodeName">;
marks: { label: string; value: number }[];
Expand Down
5 changes: 1 addition & 4 deletions ui/src/components/layouts/MapLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ import { ReactElement, ReactNode, useEffect, useState } from "react";

import Drawer from "@/components/Drawer";
import Header from "@/components/Header";
import {
useFeedQuery,
useFeedsQuery,
} from "@/graphql/generated";
import { useFeedQuery, useFeedsQuery } from "@/graphql/generated";
import { displayDesktopOnly, displayMobileOnly } from "@/styles/responsive";

import Player, { PlayerSpacer } from "../Player";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ mutation cancelCandidateNotifications($candidateId: ID!) {
vars
}
}
}
}
2 changes: 1 addition & 1 deletion ui/src/graphql/mutations/signOut.graphql
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
mutation signOut {
signOut
}
}
2 changes: 2 additions & 0 deletions ui/src/styles/responsive.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// These are helpers/utility so it's okay if not used
/* eslint-disable import/no-unused-modules */
import { Theme } from "@mui/material";

export const displayMobileOnly = { display: { xs: "block", sm: "none" } };
Expand Down
Loading