react update (#226)

* chore: updated react, ts and types

* fix: updated React imports using codemod
keep-around/af30b88d367751c9e05a735e4a0467a96238ef47
Mirlan 5 years ago committed by GitHub
parent 6f57882bc7
commit 94684184e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .eslintrc
  2. 18
      package.json
  3. 1
      src/features/App/AuthenticatedApp.tsx
  4. 1
      src/features/App/UnauthenticatedApp.tsx
  5. 1
      src/features/App/index.tsx
  6. 2
      src/features/AuthStore/index.tsx
  7. 2
      src/features/Background/index.tsx
  8. 2
      src/features/Combobox/components/Arrow/index.tsx
  9. 1
      src/features/Combobox/index.tsx
  10. 2
      src/features/Common/Arrows/stories.tsx
  11. 2
      src/features/Common/Button/stories.tsx
  12. 2
      src/features/Common/Checkbox/index.tsx
  13. 2
      src/features/Common/Checkbox/stories.tsx
  14. 2
      src/features/Common/Image/index.tsx
  15. 1
      src/features/Common/Input/index.tsx
  16. 2
      src/features/Common/Input/stories.tsx
  17. 2
      src/features/Common/Radio/index.tsx
  18. 2
      src/features/Common/Radio/stories.tsx
  19. 2
      src/features/Common/SportName/index.tsx
  20. 2
      src/features/Common/StarIcon/index.tsx
  21. 2
      src/features/ExtendedSearchPage/components/DesktopHeader/index.tsx
  22. 2
      src/features/ExtendedSearchPage/components/Filters/index.tsx
  23. 2
      src/features/ExtendedSearchPage/components/GenderFilter/index.tsx
  24. 2
      src/features/ExtendedSearchPage/components/MobileHeader/index.tsx
  25. 2
      src/features/ExtendedSearchPage/components/ProfileFilter/index.tsx
  26. 5
      src/features/ExtendedSearchPage/components/Results/index.tsx
  27. 2
      src/features/ExtendedSearchPage/components/SearchInput/index.tsx
  28. 2
      src/features/ExtendedSearchPage/components/SportTypeFilter/index.tsx
  29. 2
      src/features/ExtendedSearchPage/index.tsx
  30. 5
      src/features/ExtendedSearchPage/store/index.tsx
  31. 5
      src/features/FormStore/index.tsx
  32. 2
      src/features/Gender/index.tsx
  33. 2
      src/features/GlobalStores/index.tsx
  34. 2
      src/features/HeaderFilters/components/DateFilter/index.tsx
  35. 2
      src/features/HeaderFilters/components/DatePicker/index.tsx
  36. 2
      src/features/HeaderFilters/components/MatchStatusFilter/index.tsx
  37. 2
      src/features/HeaderFilters/components/SportTypeFilter/index.tsx
  38. 2
      src/features/HeaderFilters/components/TournamentFilter/index.tsx
  39. 2
      src/features/HeaderFilters/components/TournamentList/index.tsx
  40. 5
      src/features/HeaderFilters/store/index.tsx
  41. 1
      src/features/HeaderMobile/index.tsx
  42. 2
      src/features/HomePage/components/Header/index.tsx
  43. 2
      src/features/HomePage/index.tsx
  44. 1
      src/features/InfiniteScroll/index.tsx
  45. 2
      src/features/ItemsList/index.tsx
  46. 2
      src/features/LanguageSelect/index.tsx
  47. 2
      src/features/LexicsStore/index.tsx
  48. 2
      src/features/Loader/index.tsx
  49. 2
      src/features/Login/index.tsx
  50. 2
      src/features/MatchCard/CardFinished/index.tsx
  51. 1
      src/features/MatchCard/CardFinishedHover/index.tsx
  52. 2
      src/features/MatchCard/CardLive/index.tsx
  53. 1
      src/features/MatchCard/CardLiveHover/index.tsx
  54. 2
      src/features/MatchCard/CardSoon/index.tsx
  55. 1
      src/features/MatchCard/MatchInfoCard/index.tsx
  56. 1
      src/features/MatchCard/index.tsx
  57. 2
      src/features/MatchPage/MatchProfileCard/index.tsx
  58. 2
      src/features/MatchPage/index.tsx
  59. 2
      src/features/MatchSwitches/components/AvailableMatchesSwitch/index.tsx
  60. 2
      src/features/MatchSwitches/components/ScoreSwitch/index.tsx
  61. 5
      src/features/MatchSwitches/store.tsx
  62. 2
      src/features/Matches/components/MatchesList/index.tsx
  63. 2
      src/features/Matches/index.tsx
  64. 2
      src/features/MatchesGrid/index.tsx
  65. 2
      src/features/MatchesSlider/index.tsx
  66. 1
      src/features/Menu/index.tsx
  67. 2
      src/features/Modal/index.tsx
  68. 2
      src/features/MultiSourcePlayer/components/Chapters/index.tsx
  69. 2
      src/features/MultiSourcePlayer/components/ProgressBar/index.tsx
  70. 1
      src/features/MultiSourcePlayer/components/ProgressBar/stories.tsx
  71. 2
      src/features/MultiSourcePlayer/components/Settings/index.tsx
  72. 2
      src/features/MultiSourcePlayer/index.tsx
  73. 2
      src/features/Name/index.tsx
  74. 1
      src/features/OutsideClick/index.tsx
  75. 2
      src/features/PlayerPage/index.tsx
  76. 2
      src/features/ProfileCard/index.tsx
  77. 2
      src/features/ProfileHeader/index.tsx
  78. 1
      src/features/ProfileLink/index.tsx
  79. 2
      src/features/ProfileLogo/index.tsx
  80. 2
      src/features/Register/components/AdditionalSubscription/index.tsx
  81. 2
      src/features/Register/components/CardStep/index.tsx
  82. 2
      src/features/Register/components/MainSubscription/index.tsx
  83. 1
      src/features/Register/components/Price/index.tsx
  84. 2
      src/features/Register/components/RegistrationStep/index.tsx
  85. 2
      src/features/Register/components/RegistrationSuccessful/index.tsx
  86. 2
      src/features/Register/components/SubscriptionsStep/index.tsx
  87. 1
      src/features/Register/index.tsx
  88. 2
      src/features/Search/components/Header/index.tsx
  89. 2
      src/features/Search/index.tsx
  90. 2
      src/features/SportTypeFilter/index.tsx
  91. 2
      src/features/StreamPlayer/components/ProgressBar/index.tsx
  92. 1
      src/features/StreamPlayer/components/ProgressBar/stories.tsx
  93. 2
      src/features/StreamPlayer/components/TimeTooltip/index.tsx
  94. 2
      src/features/StreamPlayer/components/VolumeBar/index.tsx
  95. 2
      src/features/StreamPlayer/index.tsx
  96. 1
      src/features/T9n/index.tsx
  97. 2
      src/features/TeamPage/index.tsx
  98. 2
      src/features/Theme/index.tsx
  99. 2
      src/features/Tooltip/index.tsx
  100. 2
      src/features/TournamentPage/index.tsx
  101. Some files were not shown because too many files have changed in this diff Show More

@ -89,6 +89,7 @@
"no-unused-vars": "off", "no-unused-vars": "off",
"no-shadow": "off", "no-shadow": "off",
"react/jsx-one-expression-per-line": "off", "react/jsx-one-expression-per-line": "off",
"react/react-in-jsx-scope": "off",
"react/jsx-fragments": "off", "react/jsx-fragments": "off",
"react/require-default-props": "off", "react/require-default-props": "off",
"semi": "off" "semi": "off"

@ -3,8 +3,8 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
"start": "DISABLE_NEW_JSX_TRANSFORM=true react-scripts start", "start": "react-scripts start",
"build": "DISABLE_NEW_JSX_TRANSFORM=true GENERATE_SOURCEMAP=false react-scripts build && gzipper --verbose ./build", "build": "GENERATE_SOURCEMAP=false react-scripts build && gzipper --verbose ./build",
"test": "react-scripts test --testMatch '**/__tests__/*' --passWithNoTests --watchAll=false", "test": "react-scripts test --testMatch '**/__tests__/*' --passWithNoTests --watchAll=false",
"test:watch": "react-scripts test --testMatch '**/__tests__/*'", "test:watch": "react-scripts test --testMatch '**/__tests__/*'",
"eject": "react-scripts eject", "eject": "react-scripts eject",
@ -17,9 +17,9 @@
"history": "^4.10.1", "history": "^4.10.1",
"hls.js": "^0.14.15", "hls.js": "^0.14.15",
"lodash": "^4.17.15", "lodash": "^4.17.15",
"react": "^16.13.1", "react": "^17.0.1",
"react-datepicker": "^3.1.3", "react-datepicker": "^3.1.3",
"react-dom": "^16.13.1", "react-dom": "^17.0.1",
"react-router": "^5.2.0", "react-router": "^5.2.0",
"react-router-dom": "^5.2.0", "react-router-dom": "^5.2.0",
"react-scripts": "^4.0.1", "react-scripts": "^4.0.1",
@ -44,12 +44,12 @@
"@types/jest": "^26.0.15", "@types/jest": "^26.0.15",
"@types/lodash": "^4.14.154", "@types/lodash": "^4.14.154",
"@types/node": "^12.0.0", "@types/node": "^12.0.0",
"@types/react": "^16.9.0", "@types/react": "^17.0.0",
"@types/react-datepicker": "^3.0.2", "@types/react-datepicker": "^3.0.2",
"@types/react-dom": "^16.9.0", "@types/react-dom": "^17.0.0",
"@types/react-responsive": "^8.0.2", "@types/react-responsive": "^8.0.2",
"@types/react-router": "^5.1.7", "@types/react-router": "^5.1.8",
"@types/react-router-dom": "^5.1.5", "@types/react-router-dom": "^5.1.6",
"@types/styled-components": "^5.1.0", "@types/styled-components": "^5.1.0",
"commitizen": "^4.1.2", "commitizen": "^4.1.2",
"eslint": "^7.14.0", "eslint": "^7.14.0",
@ -67,7 +67,7 @@
"lint-staged": "^10.2.7", "lint-staged": "^10.2.7",
"storybook-addon-styled-component-theme": "^1.3.0", "storybook-addon-styled-component-theme": "^1.3.0",
"ts-loader": "^7.0.5", "ts-loader": "^7.0.5",
"typescript": "^4.0.5" "typescript": "^4.1.2"
}, },
"config": { "config": {
"commitizen": { "commitizen": {

@ -1,4 +1,3 @@
import React from 'react'
import { import {
Route, Route,
Redirect, Redirect,

@ -1,4 +1,3 @@
import React from 'react'
import { import {
Route, Route,
Redirect, Redirect,

@ -1,4 +1,3 @@
import React from 'react'
import { Router } from 'react-router-dom' import { Router } from 'react-router-dom'
import { history } from 'config' import { history } from 'config'

@ -1,5 +1,5 @@
import type { ReactNode } from 'react' import type { ReactNode } from 'react'
import React, { import {
createContext, createContext,
useContext, useContext,
useState, useState,

@ -1,4 +1,4 @@
import React, { ReactNode } from 'react' import { ReactNode } from 'react'
import { GradientBackground, ImageBackground } from './styled' import { GradientBackground, ImageBackground } from './styled'

@ -1,5 +1,3 @@
import React from 'react'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'
type Props = { type Props = {

@ -1,4 +1,3 @@
import React from 'react'
import { useRouteMatch } from 'react-router-dom' import { useRouteMatch } from 'react-router-dom'
import isEmpty from 'lodash/isEmpty' import isEmpty from 'lodash/isEmpty'

@ -1,5 +1,3 @@
import React from 'react'
import { ArrowLeft, ArrowRight } from 'features/Common' import { ArrowLeft, ArrowRight } from 'features/Common'
const Story = { const Story = {

@ -1,5 +1,3 @@
import React from 'react'
import { action } from '@storybook/addon-actions' import { action } from '@storybook/addon-actions'
import { ButtonOutline, ButtonSolid } from 'features/Common' import { ButtonOutline, ButtonSolid } from 'features/Common'

@ -1,4 +1,4 @@
import React, { InputHTMLAttributes } from 'react' import { InputHTMLAttributes } from 'react'
import { import {
Wrapper, Wrapper,

@ -1,5 +1,3 @@
import React from 'react'
import { Checkbox } from 'features/Common' import { Checkbox } from 'features/Common'
const Story = { const Story = {

@ -1,5 +1,5 @@
import type { BaseSyntheticEvent } from 'react' import type { BaseSyntheticEvent } from 'react'
import React, { useCallback } from 'react' import { useCallback } from 'react'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'

@ -1,5 +1,4 @@
import type { ChangeEvent, FocusEvent } from 'react' import type { ChangeEvent, FocusEvent } from 'react'
import React from 'react'
import { useRouteMatch } from 'react-router-dom' import { useRouteMatch } from 'react-router-dom'
import { T9n } from 'features/T9n' import { T9n } from 'features/T9n'

@ -1,4 +1,4 @@
import React, { Fragment } from 'react' import { Fragment } from 'react'
import { Input } from 'features/Common' import { Input } from 'features/Common'

@ -1,4 +1,4 @@
import React, { InputHTMLAttributes } from 'react' import { InputHTMLAttributes } from 'react'
import { useRouteMatch } from 'react-router-dom' import { useRouteMatch } from 'react-router-dom'
import { PAGES } from 'config' import { PAGES } from 'config'

@ -1,5 +1,3 @@
import React from 'react'
import { Radio } from 'features/Common' import { Radio } from 'features/Common'
const Story = { const Story = {

@ -1,5 +1,3 @@
import React from 'react'
import { SportTypes } from 'config' import { SportTypes } from 'config'
import { getSportColor, getSportLexic } from 'helpers' import { getSportColor, getSportLexic } from 'helpers'

@ -1,5 +1,3 @@
import React from 'react'
type StarProps = { type StarProps = {
fill: string, fill: string,
} }

@ -1,5 +1,3 @@
import React from 'react'
import { Menu } from 'features/Menu' import { Menu } from 'features/Menu'
import { LanguageSelect } from 'features/LanguageSelect' import { LanguageSelect } from 'features/LanguageSelect'
import { import {

@ -1,4 +1,4 @@
import React, { Fragment } from 'react' import { Fragment } from 'react'
import { SportTypeFilter } from '../SportTypeFilter' import { SportTypeFilter } from '../SportTypeFilter'
import { SearchInput } from '../SearchInput' import { SearchInput } from '../SearchInput'

@ -1,5 +1,3 @@
import React from 'react'
import { Gender } from 'requests' import { Gender } from 'requests'
import { T9n } from 'features/T9n' import { T9n } from 'features/T9n'

@ -1,4 +1,4 @@
import React, { Fragment } from 'react' import { Fragment } from 'react'
import { Link } from 'react-router-dom' import { Link } from 'react-router-dom'
import { PAGES } from 'config' import { PAGES } from 'config'

@ -1,5 +1,3 @@
import React from 'react'
import { ProfileTypes } from 'config' import { ProfileTypes } from 'config'
import { T9n } from 'features/T9n' import { T9n } from 'features/T9n'

@ -1,7 +1,4 @@
import React, { import { Fragment, memo } from 'react'
Fragment,
memo,
} from 'react'
import { isEmpty } from 'lodash' import { isEmpty } from 'lodash'

@ -1,4 +1,4 @@
import React, { Fragment } from 'react' import { Fragment } from 'react'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'

@ -1,5 +1,3 @@
import React from 'react'
import { SportTypeFilter as Filter } from 'features/SportTypeFilter' import { SportTypeFilter as Filter } from 'features/SportTypeFilter'
import { useExtendedSearchStore } from '../../store' import { useExtendedSearchStore } from '../../store'

@ -1,5 +1,3 @@
import React from 'react'
import { MediaQuery } from 'features/MediaQuery' import { MediaQuery } from 'features/MediaQuery'
import { UserFavorites } from 'features/UserFavorites' import { UserFavorites } from 'features/UserFavorites'
import { MainWrapper } from 'features/MainWrapper' import { MainWrapper } from 'features/MainWrapper'

@ -1,8 +1,5 @@
import type { ReactNode } from 'react' import type { ReactNode } from 'react'
import React, { import { createContext, useContext } from 'react'
createContext,
useContext,
} from 'react'
import { useExtendedSearch } from './hooks' import { useExtendedSearch } from './hooks'

@ -1,8 +1,5 @@
import type { ReactNode } from 'react' import type { ReactNode } from 'react'
import React, { import { createContext, useContext } from 'react'
createContext,
useContext,
} from 'react'
import { useFormState } from './hooks/useFormState' import { useFormState } from './hooks/useFormState'

@ -1,5 +1,3 @@
import React from 'react'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'
import { Gender } from 'requests' import { Gender } from 'requests'

@ -1,4 +1,4 @@
import React, { ReactNode } from 'react' import { ReactNode } from 'react'
import { AuthStore } from 'features/AuthStore' import { AuthStore } from 'features/AuthStore'
import { LexicsStore } from 'features/LexicsStore' import { LexicsStore } from 'features/LexicsStore'

@ -1,5 +1,3 @@
import React from 'react'
import { OutsideClick } from 'features/OutsideClick' import { OutsideClick } from 'features/OutsideClick'
import { useDateFilter } from './hooks' import { useDateFilter } from './hooks'

@ -1,5 +1,3 @@
import React from 'react'
import type { ReactDatePickerProps } from 'react-datepicker' import type { ReactDatePickerProps } from 'react-datepicker'
import DatePickerComponent from 'react-datepicker' import DatePickerComponent from 'react-datepicker'
import 'react-datepicker/dist/react-datepicker.css' import 'react-datepicker/dist/react-datepicker.css'

@ -1,5 +1,3 @@
import React from 'react'
import { T9n } from 'features/T9n' import { T9n } from 'features/T9n'
import { import {
RadioButtonGroup, RadioButtonGroup,

@ -1,5 +1,3 @@
import React from 'react'
import { css } from 'styled-components/macro' import { css } from 'styled-components/macro'
import { devices } from 'config' import { devices } from 'config'

@ -1,5 +1,3 @@
import React from 'react'
import { T9n } from 'features/T9n' import { T9n } from 'features/T9n'
import { Name } from 'features/Name' import { Name } from 'features/Name'
import { OutsideClick } from 'features/OutsideClick' import { OutsideClick } from 'features/OutsideClick'

@ -1,5 +1,3 @@
import React from 'react'
import map from 'lodash/map' import map from 'lodash/map'
import type { Tournaments } from 'requests' import type { Tournaments } from 'requests'

@ -1,8 +1,5 @@
import type { ReactNode } from 'react' import type { ReactNode } from 'react'
import React, { import { useContext, createContext } from 'react'
useContext,
createContext,
} from 'react'
import { useFilters } from './hooks' import { useFilters } from './hooks'

@ -1,4 +1,3 @@
import React from 'react'
import { Link, useRouteMatch } from 'react-router-dom' import { Link, useRouteMatch } from 'react-router-dom'
import { PAGES } from 'config' import { PAGES } from 'config'

@ -1,5 +1,3 @@
import React from 'react'
import { Menu } from 'features/Menu' import { Menu } from 'features/Menu'
import { LanguageSelect } from 'features/LanguageSelect' import { LanguageSelect } from 'features/LanguageSelect'
import { ScoreSwitch, AvailableMatchesSwitch } from 'features/MatchSwitches' import { ScoreSwitch, AvailableMatchesSwitch } from 'features/MatchSwitches'

@ -1,5 +1,3 @@
import React from 'react'
import { MediaQuery } from 'features/MediaQuery' import { MediaQuery } from 'features/MediaQuery'
import { HeaderMobile } from 'features/HeaderMobile' import { HeaderMobile } from 'features/HeaderMobile'
import { Matches } from 'features/Matches' import { Matches } from 'features/Matches'

@ -1,5 +1,4 @@
import type { ReactNode } from 'react' import type { ReactNode } from 'react'
import React from 'react'
import { useIntersectionObserver } from './hooks' import { useIntersectionObserver } from './hooks'
import { Root, Target } from './styled' import { Root, Target } from './styled'

@ -1,5 +1,3 @@
import React from 'react'
import map from 'lodash/map' import map from 'lodash/map'
import { SportTypes, ProfileTypes } from 'config' import { SportTypes, ProfileTypes } from 'config'

@ -1,5 +1,3 @@
import React from 'react'
import map from 'lodash/map' import map from 'lodash/map'
import { useLexicsStore } from 'features/LexicsStore' import { useLexicsStore } from 'features/LexicsStore'

@ -1,5 +1,5 @@
import type { ReactNode } from 'react' import type { ReactNode } from 'react'
import React, { import {
createContext, createContext,
useContext, useContext,
useEffect, useEffect,

@ -1,5 +1,3 @@
import React from 'react'
import { LoaderProps } from './types' import { LoaderProps } from './types'
import { Wrapper, Circles } from './styled' import { Wrapper, Circles } from './styled'

@ -1,5 +1,3 @@
import React from 'react'
import { PAGES } from 'config' import { PAGES } from 'config'
import { formIds } from 'config/form' import { formIds } from 'config/form'

@ -1,5 +1,3 @@
import React from 'react'
import type { Match } from 'features/Matches' import type { Match } from 'features/Matches'
import { useCard } from '../hooks' import { useCard } from '../hooks'

@ -1,5 +1,4 @@
import type { MouseEvent } from 'react' import type { MouseEvent } from 'react'
import React from 'react'
import { Link } from 'react-router-dom' import { Link } from 'react-router-dom'

@ -1,5 +1,3 @@
import React from 'react'
import type { Match } from 'features/Matches' import type { Match } from 'features/Matches'
import { useCard } from '../hooks' import { useCard } from '../hooks'

@ -1,5 +1,4 @@
import type { MouseEvent } from 'react' import type { MouseEvent } from 'react'
import React from 'react'
import { Link } from 'react-router-dom' import { Link } from 'react-router-dom'

@ -1,5 +1,3 @@
import React from 'react'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'
import { ProfileTypes } from 'config' import { ProfileTypes } from 'config'

@ -1,5 +1,4 @@
import type { KeyboardEvent } from 'react' import type { KeyboardEvent } from 'react'
import React from 'react'
import { ProfileTypes } from 'config' import { ProfileTypes } from 'config'

@ -1,4 +1,3 @@
import React from 'react'
import { useRouteMatch } from 'react-router' import { useRouteMatch } from 'react-router'
import { PAGES } from 'config' import { PAGES } from 'config'

@ -1,5 +1,3 @@
import React from 'react'
import format from 'date-fns/format' import format from 'date-fns/format'
import type { MatchInfo } from 'requests' import type { MatchInfo } from 'requests'

@ -1,5 +1,3 @@
import React from 'react'
import isEmpty from 'lodash/isEmpty' import isEmpty from 'lodash/isEmpty'
import { StreamPlayer } from 'features/StreamPlayer' import { StreamPlayer } from 'features/StreamPlayer'

@ -1,5 +1,3 @@
import React from 'react'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'
import { Tooltip, TooltipWrapper } from 'features/Tooltip' import { Tooltip, TooltipWrapper } from 'features/Tooltip'

@ -1,5 +1,3 @@
import React from 'react'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'
import { useMatchSwitchesStore } from 'features/MatchSwitches' import { useMatchSwitchesStore } from 'features/MatchSwitches'

@ -1,8 +1,5 @@
import type { ReactNode } from 'react' import type { ReactNode } from 'react'
import React, { import { createContext, useContext } from 'react'
createContext,
useContext,
} from 'react'
import { useMatchSwitches } from './hooks' import { useMatchSwitches } from './hooks'

@ -1,4 +1,4 @@
import React, { Fragment } from 'react' import { Fragment } from 'react'
import isEmpty from 'lodash/isEmpty' import isEmpty from 'lodash/isEmpty'

@ -1,4 +1,4 @@
import React, { Fragment } from 'react' import { Fragment } from 'react'
import { InfiniteScroll } from 'features/InfiniteScroll' import { InfiniteScroll } from 'features/InfiniteScroll'
import { Loading } from 'features/HomePage/styled' import { Loading } from 'features/HomePage/styled'

@ -1,5 +1,3 @@
import React from 'react'
import map from 'lodash/map' import map from 'lodash/map'
import type { Match } from 'features/Matches' import type { Match } from 'features/Matches'

@ -1,5 +1,3 @@
import React from 'react'
import map from 'lodash/map' import map from 'lodash/map'
import isEmpty from 'lodash/isEmpty' import isEmpty from 'lodash/isEmpty'

@ -1,4 +1,3 @@
import React from 'react'
import { Link, useRouteMatch } from 'react-router-dom' import { Link, useRouteMatch } from 'react-router-dom'
import { PAGES } from 'config' import { PAGES } from 'config'

@ -1,5 +1,5 @@
import type { ReactNode } from 'react' import type { ReactNode } from 'react'
import React, { useRef } from 'react' import { useRef } from 'react'
import ReactDOM from 'react-dom' import ReactDOM from 'react-dom'
import { OutsideClick } from 'features/OutsideClick' import { OutsideClick } from 'features/OutsideClick'

@ -1,5 +1,3 @@
import React from 'react'
import map from 'lodash/map' import map from 'lodash/map'
import { import {

@ -1,5 +1,3 @@
import React from 'react'
import { secondsToHms } from 'helpers' import { secondsToHms } from 'helpers'
import { useSlider } from 'features/StreamPlayer/hooks/useSlider' import { useSlider } from 'features/StreamPlayer/hooks/useSlider'

@ -1,5 +1,4 @@
import type { ReactElement } from 'react' import type { ReactElement } from 'react'
import React from 'react'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'

@ -1,4 +1,4 @@
import React, { Fragment } from 'react' import { Fragment } from 'react'
import map from 'lodash/map' import map from 'lodash/map'

@ -1,5 +1,3 @@
import React from 'react'
import { VolumeBar } from 'features/StreamPlayer/components/VolumeBar' import { VolumeBar } from 'features/StreamPlayer/components/VolumeBar'
import { import {
PlayerWrapper, PlayerWrapper,

@ -1,5 +1,3 @@
import React from 'react'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'
import { useLexicsStore } from 'features/LexicsStore' import { useLexicsStore } from 'features/LexicsStore'

@ -1,5 +1,4 @@
import type { ReactNode } from 'react' import type { ReactNode } from 'react'
import React from 'react'
import styled from 'styled-components' import styled from 'styled-components'

@ -1,5 +1,3 @@
import React from 'react'
import { ProfileTypes } from 'config' import { ProfileTypes } from 'config'
import { ProfileHeader } from 'features/ProfileHeader' import { ProfileHeader } from 'features/ProfileHeader'

@ -1,5 +1,3 @@
import React from 'react'
import map from 'lodash/map' import map from 'lodash/map'
import { T9n } from 'features/T9n' import { T9n } from 'features/T9n'

@ -1,4 +1,4 @@
import React, { Fragment } from 'react' import { Fragment } from 'react'
import { useRouteMatch } from 'react-router-dom' import { useRouteMatch } from 'react-router-dom'
import { PAGES } from 'config' import { PAGES } from 'config'

@ -1,5 +1,4 @@
import type { ReactNode, MouseEvent } from 'react' import type { ReactNode, MouseEvent } from 'react'
import React from 'react'
import { Link } from 'react-router-dom' import { Link } from 'react-router-dom'
import { ProfileTypes, SportTypes } from 'config' import { ProfileTypes, SportTypes } from 'config'

@ -1,5 +1,3 @@
import React from 'react'
import { ProfileTypes, SportTypes } from 'config' import { ProfileTypes, SportTypes } from 'config'
import { getProfileFallbackLogo, getProfileLogo } from 'helpers' import { getProfileFallbackLogo, getProfileLogo } from 'helpers'

@ -1,5 +1,3 @@
import React from 'react'
import { Checkbox } from 'features/Common' import { Checkbox } from 'features/Common'
import { Price } from '../Price' import { Price } from '../Price'

@ -1,5 +1,3 @@
import React from 'react'
import { T9n } from 'features/T9n' import { T9n } from 'features/T9n'
import { Input, ButtonSolid } from 'features/Common' import { Input, ButtonSolid } from 'features/Common'
import { import {

@ -1,5 +1,3 @@
import React from 'react'
import { Radio } from 'features/Common' import { Radio } from 'features/Common'
import { Price } from '../Price' import { Price } from '../Price'

@ -1,4 +1,3 @@
import React from 'react'
import { useLexicsStore } from 'features/LexicsStore' import { useLexicsStore } from 'features/LexicsStore'
import { import {

@ -1,5 +1,3 @@
import React from 'react'
import { formIds } from 'config/form' import { formIds } from 'config/form'
import { T9n } from 'features/T9n' import { T9n } from 'features/T9n'

@ -1,5 +1,3 @@
import React from 'react'
import { PAGES } from 'config' import { PAGES } from 'config'
import { T9n } from 'features/T9n' import { T9n } from 'features/T9n'

@ -1,4 +1,4 @@
import React, { Fragment } from 'react' import { Fragment } from 'react'
import { useRouteMatch } from 'react-router-dom' import { useRouteMatch } from 'react-router-dom'
import { PAGES } from 'config' import { PAGES } from 'config'

@ -1,4 +1,3 @@
import React from 'react'
import { Route } from 'react-router' import { Route } from 'react-router'
import { useRouteMatch } from 'react-router-dom' import { useRouteMatch } from 'react-router-dom'

@ -1,5 +1,3 @@
import React from 'react'
import { import {
Wrapper, Wrapper,
Icon, Icon,

@ -1,4 +1,4 @@
import React, { Fragment } from 'react' import { Fragment } from 'react'
import { useRouteMatch } from 'react-router-dom' import { useRouteMatch } from 'react-router-dom'
import isEmpty from 'lodash/isEmpty' import isEmpty from 'lodash/isEmpty'

@ -1,5 +1,3 @@
import React from 'react'
import map from 'lodash/map' import map from 'lodash/map'
import { T9n } from 'features/T9n' import { T9n } from 'features/T9n'

@ -1,5 +1,3 @@
import React from 'react'
import { secondsToHms } from 'helpers' import { secondsToHms } from 'helpers'
import { useSlider } from 'features/StreamPlayer/hooks/useSlider' import { useSlider } from 'features/StreamPlayer/hooks/useSlider'

@ -1,5 +1,4 @@
import type { ReactElement } from 'react' import type { ReactElement } from 'react'
import React from 'react'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'

@ -1,5 +1,3 @@
import React from 'react'
import { Wrapper, Time } from './styled' import { Wrapper, Time } from './styled'
type Props = { type Props = {

@ -1,5 +1,3 @@
import React from 'react'
import { useSlider } from 'features/StreamPlayer/hooks/useSlider' import { useSlider } from 'features/StreamPlayer/hooks/useSlider'
import { import {

@ -1,5 +1,3 @@
import React from 'react'
import { Settings } from 'features/MultiSourcePlayer/components/Settings' import { Settings } from 'features/MultiSourcePlayer/components/Settings'
import type { Props } from './hooks' import type { Props } from './hooks'

@ -1,4 +1,3 @@
import React from 'react'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'
import { useLexicsStore } from 'features/LexicsStore' import { useLexicsStore } from 'features/LexicsStore'

@ -1,5 +1,3 @@
import React from 'react'
import { ProfileTypes } from 'config' import { ProfileTypes } from 'config'
import { ProfileHeader } from 'features/ProfileHeader' import { ProfileHeader } from 'features/ProfileHeader'

@ -1,4 +1,4 @@
import React, { import {
useState, useState,
ReactNode, ReactNode,
useCallback, useCallback,

@ -1,5 +1,5 @@
import type { ReactNode } from 'react' import type { ReactNode } from 'react'
import React, { Fragment } from 'react' import { Fragment } from 'react'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'

@ -1,5 +1,3 @@
import React from 'react'
import { ProfileTypes } from 'config' import { ProfileTypes } from 'config'
import { ProfileHeader } from 'features/ProfileHeader' import { ProfileHeader } from 'features/ProfileHeader'

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save