Skip to content

Commit

Permalink
Reorganise imports
Browse files Browse the repository at this point in the history
  • Loading branch information
spaaaacccee committed Nov 29, 2023
1 parent 2f9ea29 commit e742253
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion adapter-iron-harvest/src/core/maps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function mapIsSupported(path: string) {
}

export async function getMapDescriptor(path: string) {
const { maps: mapsPath } = await getConfig();
const { maps: mapsPath } = getConfig();
const file = parse(path);
return {
id: relative(resolve(mapsPath), path),
Expand Down
18 changes: 9 additions & 9 deletions client/src/layers/trace/index.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
import { ArrowOutwardRounded } from "@mui/icons-material";
import { Box, Typography, useTheme } from "@mui/material";
import { Box, useTheme } from "@mui/material";
import { FeaturePicker } from "components/app-bar/FeaturePicker";
import { TracePicker } from "components/app-bar/Input";
import {
PlaybackLayerData,
PlaybackService,
} from "components/app-bar/Playback";
import { PropertyList } from "components/inspector/PropertyList";
import { Heading, Option } from "components/layer-editor/Option";
import { TracePreview } from "components/layer-editor/TracePreview";
import { LazyNodeList, NodeList } from "components/renderer/NodeList";
import { colorsHex, getColorHex } from "components/renderer/colors";
import { parseString } from "components/renderer/parser/parseString";
import { useTraceParser } from "components/renderer/parser/parseTrace";
import { ParseTraceWorkerReturnType } from "components/renderer/parser/parseTraceSlave.worker";
import { useEffectWhen } from "hooks/useEffectWhen";
import { LayerController, inferLayerName } from "layers";
import {
chain,
constant,
Expand All @@ -30,14 +38,6 @@ import { useEffect, useMemo } from "react";
import { useThrottle } from "react-use";
import { UploadedTrace } from "slices/UIState";
import { Layer, useLayer } from "slices/layers";
import { LayerController, inferLayerName } from "layers";
import { Heading, Option } from "components/layer-editor/Option";
import { TracePreview } from "components/layer-editor/TracePreview";
import {
PlaybackLayerData,
PlaybackService,
} from "components/app-bar/Playback";
import { ParseTraceWorkerReturnType } from "components/renderer/parser/parseTraceSlave.worker";

const isNullish = (x: KeyRef): x is Exclude<KeyRef, Key> =>
x === undefined || x === null;
Expand Down
6 changes: 3 additions & 3 deletions client/src/pages/AboutPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import {
ListItemText,
Typography as Type,
} from "@mui/material";
import { head } from "lodash";
import { ReactNode } from "react";
import { Flex } from "components/generic/Flex";
import { Scroll } from "components/generic/Scrollbars";
import { useViewTreeContext } from "components/inspector/ViewTree";
import { head } from "lodash";
import { Page } from "pages/Page";
import logo from "public/logo512.png";
import { version_name, name } from "public/manifest.json";
import { name, version_name } from "public/manifest.json";
import { ReactNode } from "react";

const contacts = [
{ name: "Dr Daniel Harabor", email: "[email protected]" },
Expand Down
1 change: 0 additions & 1 deletion client/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
InfoOutlined,
LayersOutlined,
ListOutlined,
SettingsInputComponentOutlined,
SettingsOutlined,
SortOutlined as StepsIcon,
ViewInArOutlined,
Expand Down
3 changes: 2 additions & 1 deletion resources/traces/v1.0.5/aurora-polyanya.trace.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
{ "x": "{{$.event.x2}}", "y": "{{$.event.y2}}" }
],
"lineWidth": 0.25,
"fill": "{{$.color[$.event.type]}}"
"fill": "{{$.color[$.event.type]}}",
"display": "transient"
}
],
"triangle": [
Expand Down

0 comments on commit e742253

Please sign in to comment.