Skip to content

Commit 25790a7

Browse files
MarkTeetsjasnoominzo-kimyuanjackie1
committed
Relocated FrontendTypes and fixed imports
Co-authored-by: Jasmine Noor <[email protected]> Co-authored-by: Minzo Kim <[email protected]> Co-authored-by: Jackie Yuan <[email protected]>
1 parent bf855e0 commit 25790a7

22 files changed

+21
-21
lines changed
File renamed without changes.

src/app/components/Action.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import React from 'react';
66
import ReactHover, { Trigger, Hover } from 'react-hover';
77
import { changeView, changeSlider } from '../actions/actions';
8-
import { ActionProps, OptionsCursorTrueWithMargin } from '../components/FrontendTypes';
8+
import { ActionProps, OptionsCursorTrueWithMargin } from '../FrontendTypes';
99

1010
/**
1111
* @function Action

src/app/components/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { MemoryRouter as Router } from 'react-router-dom';
33
import MainContainer from '../containers/MainContainer';
44
import { StoreContext } from '../store';
55
import mainReducer from '../reducers/mainReducer.js';
6-
import { InitialStateProps } from '../components/FrontendTypes';
6+
import { InitialStateProps } from '../FrontendTypes';
77
// currentTab is the current active tab within Google Chrome.
88
// This is used to decide what tab Reactime should be monitoring. This can be "locked"
99
// currentTabInApp is the current active tab within Reactime (Map, Performance, History, etc).

src/app/components/Diff.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { diff, formatters } from 'jsondiffpatch';
33
import ReactHtmlParser from 'react-html-parser';
44
import { useStoreContext } from '../store';
5-
import { DiffProps, StatelessCleanning } from '../components/FrontendTypes';
5+
import { DiffProps, StatelessCleanning } from '../FrontendTypes';
66

77
/**
88
* Displays tree showing specific two versions of tree

src/app/components/DiffRoute.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { MemoryRouter as Router, Route, NavLink, Switch } from 'react-router-dom';
33
import Diff from './Diff';
4-
import { DiffRouteProps } from '../components/FrontendTypes';
4+
import { DiffRouteProps } from '../FrontendTypes';
55

66
const DiffRoute = (props: DiffRouteProps): JSX.Element => (
77
<Router>

src/app/components/Dropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import Select from 'react-select';
3-
import { DropdownProps } from '../components/FrontendTypes'
3+
import { DropdownProps } from '../FrontendTypes'
44

55
const Dropdown = (props: DropdownProps): JSX.Element => {
66
const { speeds, setSpeed, selectedSpeed } = props;

src/app/components/MainSlider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Slider from 'rc-slider';
33
import Tooltip from 'rc-tooltip';
44
import { changeSlider, pause } from '../actions/actions';
55
import { useStoreContext } from '../store';
6-
import { HandleProps, MainSliderProps } from '../components/FrontendTypes';
6+
import { HandleProps, MainSliderProps } from '../FrontendTypes';
77

88
const { Handle } = Slider;
99

src/app/components/StateRoute/ComponentMap/ComponentMap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import getLinkComponent from './getLinkComponent';
2020
import ToolTipDataDisplay from './ToolTipDataDisplay';
2121
import { toggleExpanded, setCurrentTabInApp } from '../../../actions/actions';
2222
import { useStoreContext } from '../../../store';
23-
import { LinkTypesProps, DefaultMargin, ToolTipStyles } from '../../../components/FrontendTypes'
23+
import { LinkTypesProps, DefaultMargin, ToolTipStyles } from '../../../FrontendTypes'
2424

2525
const defaultMargin: DefaultMargin = {
2626
top: 30,

src/app/components/StateRoute/ComponentMap/LinkControls.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable jsx-a11y/label-has-associated-control */
22
import React from 'react';
3-
import { LinkControlProps, ControlStyles, DropDownStyle, Node } from '../../../components/FrontendTypes'
3+
import { LinkControlProps, ControlStyles, DropDownStyle, Node } from '../../../FrontendTypes'
44
// Font size of the Controls label and Dropdowns
55
const controlStyles: ControlStyles = {
66
fontSize: '12px',

src/app/components/StateRoute/ComponentMap/getLinkComponent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
LinkVerticalLine,
1313
LinkRadialLine,
1414
} from '@visx/shape';
15-
import { LinkComponent } from '../../../components/FrontendTypes'
15+
import { LinkComponent } from '../../../FrontendTypes'
1616

1717
export default function getLinkComponent({
1818
layout,

0 commit comments

Comments
 (0)