Skip to content

Commit

Permalink
just stay with error in node-modules
Browse files Browse the repository at this point in the history
  • Loading branch information
giladfuchs committed Oct 31, 2023
1 parent 0e58366 commit 5dbfd59
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useCallback, useEffect } from 'react'
import { useCallback, useEffect } from 'react'
import 'antd/dist/antd.min.css'
import './App.scss'
import TimelinePage from 'src/pages/TimelinePage'
Expand Down
2 changes: 1 addition & 1 deletion src/pages/GapsPage.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useContext, useEffect, useState } from 'react'
import { useContext, useEffect, useState } from 'react'
import { PageContainer } from './components/PageContainer'
import { Row } from './components/Row'
import { Label } from './components/Label'
Expand Down
2 changes: 1 addition & 1 deletion src/pages/GapsPatternsPage.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useContext, useEffect, useState } from 'react'
import { useContext, useEffect, useState } from 'react'
import './GapsPatternsPage.scss'
import { Moment } from 'moment'
import { Skeleton, Spin } from 'antd'
Expand Down
1 change: 0 additions & 1 deletion src/pages/components/ClearButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react'
import { CloseOutlined as ClearIcon } from '@ant-design/icons'
import './ClearButton.scss'

Expand Down
2 changes: 1 addition & 1 deletion src/pages/components/MapLayers/BusToolTip.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useEffect, useState } from 'react'
import { useEffect, useState } from 'react'
import { Point } from 'src/pages/RealtimeMapPage'
import { Button } from '@mui/material'
import moment from 'moment-timezone'
Expand Down
1 change: 0 additions & 1 deletion src/pages/components/TimeSelector.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react'
import { TEXTS } from 'src/resources/texts'
import { TimePicker, renderTimeViewClock } from '@mui/x-date-pickers'
import { DataAndTimeSelectorProps } from './utils/dateAndTime'
Expand Down
2 changes: 1 addition & 1 deletion src/pages/components/timeline/HorizontalLine.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import styled, { css } from 'styled-components'
import { NEUTRAL_COLOR } from 'src/pages/components/timeline/TimelinePoint'
import React, { useRef } from 'react'
import { useRef } from 'react'
import { useHover } from 'usehooks-ts'

type HorizontalLineProps = {
Expand Down
1 change: 0 additions & 1 deletion src/pages/components/timeline/Timeline.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react'
import moment, { Moment } from 'moment'
import styled from 'styled-components'
import {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/components/timeline/TimelineBoard.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useCallback } from 'react'
import { useCallback } from 'react'
import moment, { Moment } from 'moment'
import { MAX_HITS_COUNT } from 'src/api/apiConfig'
import styled from 'styled-components'
Expand Down
1 change: 0 additions & 1 deletion src/pages/components/timeline/TimelinePoint.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { TEXTS } from 'src/resources/texts'
import styled from 'styled-components'
import { Moment } from 'moment'
import React from 'react'

export const POINT_SIZE = 8

Expand Down
2 changes: 0 additions & 2 deletions src/pages/dashboard/ArrivalByTimeChart/ArrivalByTimeChart.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import React from 'react'

import {
LineChart,
Line,
Expand Down
1 change: 0 additions & 1 deletion src/pages/dashboard/LineHbarChart/LinesHbarChart.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react'
import { HbarChart } from '../HbarChart/HbarChart'
import { getColorName } from '../OperatorHbarChart/OperatorHbarChart'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react'
import './operatorsHbarChart.scss'
import { getColorByHashString } from './utils'
import { HbarChart } from '../HbarChart/HbarChart'
Expand Down
2 changes: 0 additions & 2 deletions src/resources/texts.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import React from 'react'

const PLACEHOLDER = 'XXX'

export const TEXT_KEYS = {
Expand Down

0 comments on commit 5dbfd59

Please sign in to comment.