Skip to content

Commit 8bb3a54

Browse files
authored
fix: Merge pull request #74 from waoai/fix/integrate-react-material-workspace-layout
Fix import errors
2 parents b7c471f + 40e0db6 commit 8bb3a54

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/MainLayout/index.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
// @flow
22

3-
import React, { useState, useRef, useCallback } from "react"
3+
import React, { useRef, useCallback } from "react"
44
import type { Node } from "react"
5-
import Grid from "@material-ui/core/Grid"
65
import { makeStyles } from "@material-ui/core/styles"
7-
import Sidebar from "../Sidebar"
86
import ImageCanvas from "../ImageCanvas"
9-
import Header from "../Header"
10-
import IconTools from "../IconTools"
117
import styles from "./styles"
128
import type { MainLayoutState, Action } from "./types"
139
import useKey from "use-key-hook"
@@ -129,7 +125,6 @@ export const MainLayout = ({
129125
dragWithPrimary={state.selectedTool === "pan"}
130126
zoomWithPrimary={state.selectedTool === "zoom"}
131127
showPointDistances={state.showPointDistances}
132-
pointDistancePrecision={state.pointDistancePrecision}
133128
videoTime={
134129
state.annotationType === "image"
135130
? state.selectedImageFrameTime

0 commit comments

Comments
 (0)