Skip to content

Commit

Permalink
Minor formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
spaaaacccee committed Dec 5, 2023
1 parent 37f71af commit 988201c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions client/src/components/inspector/EventInspector.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import InfoOutlinedIcon from "@mui/icons-material/InfoOutlined";
import {
Box,
Divider,
Expand All @@ -14,11 +15,9 @@ import {
import { getColorHex } from "components/renderer/colors";
import { pick } from "lodash";
import { TraceEvent } from "protocol/Trace";
import { useCss } from "react-use";
import { EventLabel } from "./EventLabel";
import { PropertyList } from "./PropertyList";
import IconButton from "@mui/material/IconButton";
import InfoOutlinedIcon from "@mui/icons-material/InfoOutlined";
import { useCss } from "react-use";

type EventInspectorProps = {
event?: TraceEvent;
Expand Down
3 changes: 2 additions & 1 deletion client/src/hooks/usePlaybackState.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { PlaybackLayerData } from "components/app-bar/Playback";
import { useSnackbar } from "components/generic/Snackbar";
import { clamp, min, range, set, trimEnd } from "lodash";
import { produce } from "produce";
import { useMemo } from "react";
import { useLayer } from "slices/layers";
import { useBreakpoints } from "./useBreakpoints";
import { useSnackbar } from "components/generic/Snackbar";

function cancellable<T = void>(f: () => Promise<T>, g: (result: T) => void) {
let cancelled = false;
requestAnimationFrame(async () => {
Expand Down

0 comments on commit 988201c

Please sign in to comment.