Skip to content

Commit a339148

Browse files
committed
use relative paths
1 parent f79dfea commit a339148

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

example/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"dependencies": {
1111
"react-app-polyfill": "^1.0.0",
12-
"react-image-annotation-ts": "^0.1.3",
12+
"react-image-annotation-ts": "^0.1.5",
1313
"react-router-dom": "^5.3.0",
1414
"react-syntax-highlighter": "^15.4.4",
1515
"styled-components": "^5.3.3"

src/components/Annotation.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
ISelector,
1414
SelectionMode,
1515
} from 'types/index';
16-
import useHandleEscapeEvent from 'utils/useHandleEscapeEvent';
16+
import useHandleEscapeEvent from '../utils/useHandleEscapeEvent';
1717
import compose from '../utils/compose';
1818
import withRelativeMousePos, {
1919
WithRelativeMousePosProps,

src/components/defaultProps.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Editor from 'components/Editor';
1+
import Editor from './Editor';
22
import React, { ReactElement } from 'react';
33

44
import { OvalSelector, PointSelector, RectangleSelector } from '../selectors';
@@ -9,7 +9,7 @@ import {
99
RenderEditorProps,
1010
RenderShapeProps,
1111
RenderOverlayProps,
12-
} from 'types/index';
12+
} from './../types/index';
1313
import Content from './Content';
1414
import Overlay from './Overlay';
1515
import Oval from './Shapes/Oval';

0 commit comments

Comments
 (0)