Skip to content

Commit

Permalink
style: Update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsobspinto committed Aug 12, 2024
1 parent 21c4f9c commit 6d072e1
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import { useCallback, useState } from "react";
import { v4 as uuidv4 } from "uuid";
import { useGlobalContext } from "../contexts/GlobalContext.tsx";
import { CaretIcon, CheckIcon, CloseIcon } from "../icons";
import type { Dataset, Neuron } from "../models";
import { NeuronsService } from "../rest";
import {Dataset, Neuron, NeuronsService} from "../rest";
import { vars as colors } from "../theme/variables.ts";
import CustomAutocomplete from "./CustomAutocomplete.tsx";
import CustomDialog from "./CustomDialog.tsx";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import { Box, InputAdornment, Popper, TextField, Typography } from "@mui/materia
import type React from "react";
import { useEffect, useRef, useState } from "react";
import { CheckIcon } from "../../icons";
import type { Neuron } from "../../rest";
import { vars } from "../../theme/variables.ts";
import {EnhancedNeuron} from "../../models/models.ts";
import type {EnhancedNeuron} from "../../models/models.ts";

const { gray50, brand600 } = vars;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {NeuronsService} from "../../rest";
import {vars} from "../../theme/variables.ts";
import CustomEntitiesDropdown from "./CustomEntitiesDropdown.tsx";
import CustomListItem from "./CustomListItem.tsx";
import {EnhancedNeuron} from "../../models/models.ts";
import type {EnhancedNeuron} from "../../models/models.ts";

const {gray900, gray500} = vars;
const mapNeuronsToListItem = (neuron: string, isActive: boolean) => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import Gizmo from "./Gizmo.tsx";
import Loader from "./Loader.tsx";
import STLViewer from "./STLViewer.tsx";
import SceneControls from "./SceneControls.tsx";
import {Dataset} from "../../../rest";
import type {Dataset} from "../../../rest";

const { gray100, gray600 } = vars;
export interface Instance {
Expand Down
1 change: 0 additions & 1 deletion applications/visualizer/frontend/src/models/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type {configureStore} from "@reduxjs/toolkit";
import {type EnhancedNeuron, type NeuronGroup, ViewerSynchronizationPair, ViewerType} from "./models";
import getLayoutManagerAndStore from "../layout-manager/layoutManagerFactory";
import {type Dataset, type Neuron, NeuronsService} from "../rest";
import {fetchDatasets} from "../helpers/workspaceHelper";
import type {LayoutManager} from "@metacell/geppetto-meta-client/common/layout/LayoutManager";

export class Workspace {
Expand Down

0 comments on commit 6d072e1

Please sign in to comment.