From 9386eb834a40d3fc9ebb9d38505c8eca1261f5fa Mon Sep 17 00:00:00 2001 From: Ruslan Khayrullin Date: Wed, 5 Aug 2020 17:24:07 +0300 Subject: [PATCH] fix: replace cyrillic character (#72) --- src/features/Combobox/styled.tsx | 4 ++-- .../Common/{сustomScrollbar => customScrollbar}/index.tsx | 2 +- src/features/Common/index.tsx | 2 +- .../HeaderFilters/components/TournamentFilter/styled.tsx | 4 ++-- src/features/Search/styled.tsx | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) rename src/features/Common/{сustomScrollbar => customScrollbar}/index.tsx (90%) diff --git a/src/features/Combobox/styled.tsx b/src/features/Combobox/styled.tsx index 2a3614c4..7a874ef8 100644 --- a/src/features/Combobox/styled.tsx +++ b/src/features/Combobox/styled.tsx @@ -9,7 +9,7 @@ import { } from '@reach/combobox' import { wrapperStyles, inputStyles } from 'features/Common/Input/styled' -import { сustomScrollbar, customStylesMixin } from 'features/Common' +import { customScrollbar, customStylesMixin } from 'features/Common' export const ComboboxStyled = styled(Combobox)` ${wrapperStyles} @@ -37,7 +37,7 @@ export const ComboboxListStyled = styled(ComboboxList)` left: -164px; overflow: auto; - ${сustomScrollbar} + ${customScrollbar} ${customStylesMixin} ` diff --git a/src/features/Common/сustomScrollbar/index.tsx b/src/features/Common/customScrollbar/index.tsx similarity index 90% rename from src/features/Common/сustomScrollbar/index.tsx rename to src/features/Common/customScrollbar/index.tsx index 2669561c..f4dabba4 100644 --- a/src/features/Common/сustomScrollbar/index.tsx +++ b/src/features/Common/customScrollbar/index.tsx @@ -1,6 +1,6 @@ import { css } from 'styled-components/macro' -export const сustomScrollbar = css` +export const customScrollbar = css` ::-webkit-scrollbar { width: 8px; height: 8px; diff --git a/src/features/Common/index.tsx b/src/features/Common/index.tsx index 78bf42cc..8f8984b6 100644 --- a/src/features/Common/index.tsx +++ b/src/features/Common/index.tsx @@ -5,5 +5,5 @@ export * from './Checkbox' export * from './Arrows' export * from './CloseButton' export * from './SportName' -export * from './сustomScrollbar' +export * from './customScrollbar' export * from './customStyles' diff --git a/src/features/HeaderFilters/components/TournamentFilter/styled.tsx b/src/features/HeaderFilters/components/TournamentFilter/styled.tsx index 9326e195..04cd731f 100644 --- a/src/features/HeaderFilters/components/TournamentFilter/styled.tsx +++ b/src/features/HeaderFilters/components/TournamentFilter/styled.tsx @@ -1,6 +1,6 @@ import styled from 'styled-components/macro' -import { сustomScrollbar } from 'features/Common' +import { customScrollbar } from 'features/Common' export const ListWrapper = styled.div` position: absolute; @@ -11,7 +11,7 @@ export const ListWrapper = styled.div` overflow-y: scroll; z-index: 2; - ${сustomScrollbar} + ${customScrollbar} ` type Props = { diff --git a/src/features/Search/styled.tsx b/src/features/Search/styled.tsx index 19471512..ba53e27d 100644 --- a/src/features/Search/styled.tsx +++ b/src/features/Search/styled.tsx @@ -1,6 +1,6 @@ import styled from 'styled-components/macro' -import { сustomScrollbar } from 'features/Common' +import { customScrollbar } from 'features/Common' import { InputWrapper, InputStyled, @@ -61,5 +61,5 @@ export const Results = styled.div` overflow-y: auto; z-index: 1; - ${сustomScrollbar} + ${customScrollbar} `