Skip to content
This repository was archived by the owner on May 19, 2023. It is now read-only.

Commit e962c4b

Browse files
committed
fix: linter fixes
1 parent 44c0084 commit e962c4b

File tree

7 files changed

+32
-32
lines changed

7 files changed

+32
-32
lines changed

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.modern.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/molecules/RangeSliderWithInputs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import Slider, { SliderProps } from '@material-ui/core/Slider'
22
import { makeStyles } from '@material-ui/core/styles'
33
import React, { FC } from 'react'
4-
import UnitsInput from './UnitsInput'
54
import Typography from '@material-ui/core/Typography'
5+
import UnitsInput from './UnitsInput'
66
import { validatedNumber } from '../../utils'
77
import { fonts } from '../../theme'
88

@@ -31,7 +31,7 @@ const useStyles = makeStyles(() => ({
3131
display: 'flex',
3232
justifyContent: 'center',
3333
width: '100%',
34-
fontWeight: fonts.weight.regular
34+
fontWeight: fonts.weight.regular,
3535
},
3636
}))
3737

src/components/organisms/Header/HeaderDesktop.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import React, { FC } from 'react'
22
import { AppBar, Toolbar } from '@material-ui/core'
33
import { makeStyles, Theme } from '@material-ui/core/styles'
44
import { NavLink } from 'react-router-dom'
5-
import { LogoNavbar } from '../../atoms'
65
import Typography from '@material-ui/core/Typography'
6+
import { LogoNavbar } from '../../atoms'
77
import { colors, fonts, globalConstants } from '../../../theme'
88
import { HeaderProps, HeaderItemProps } from './HeaderProps'
99
import { removeEmptySpaces } from '../../../utils'

src/components/organisms/Header/HeaderTongue.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const useStyles = makeStyles((theme: Theme) => ({
3636
titleContent: {
3737
marginBottom: theme.spacing(1),
3838
fontSize: theme.spacing(5),
39-
fontWeight: fonts.weight.regular
39+
fontWeight: fonts.weight.regular,
4040
},
4141
tongueImg: {
4242
width: '100%',

src/components/templates/FAQPageTemplate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React, { FC } from 'react'
22
import { makeStyles, Theme } from '@material-ui/core/styles'
3+
import Typography from '@material-ui/core/Typography'
34
import FAQSection, { FAQSectionProps } from '../molecules/FAQSection'
45
import { colors } from '../../theme'
5-
import Typography from '@material-ui/core/Typography'
66
import { removeEmptySpaces } from '../../utils'
77

88
export interface FAQPageTemplateProps {

src/theme/theme.ts

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const colors = {
1212
gray5: '#4D4C4C',
1313
gray6: '#15171B',
1414
transparent: '#FFFFFF00',
15-
white: '#FFFFFF'
15+
white: '#FFFFFF',
1616
}
1717

1818
export const fonts = {
@@ -23,83 +23,83 @@ export const fonts = {
2323
normal: 14,
2424
medium: 16,
2525
subtitleSmall: 18,
26-
subtitleBig: 22
26+
subtitleBig: 22,
2727
},
2828
weight: {
2929
light: 300,
3030
regular: 400,
3131
medium: 500,
32-
bold: 700
33-
}
32+
bold: 700,
33+
},
3434
}
3535

3636
export const globalConstants = {
37-
headerHeight: 8
37+
headerHeight: 8,
3838
}
3939

4040
const theme = createMuiTheme({
4141
palette: {
4242
primary: {
43-
main: colors.primary
43+
main: colors.primary,
4444
},
4545
secondary: {
46-
main: colors.gray4
47-
}
46+
main: colors.gray4,
47+
},
4848
},
4949
typography: {
5050
fontFamily: fonts.family,
5151
button: {
52-
textTransform: 'none'
52+
textTransform: 'none',
5353
},
5454
fontWeightLight: fonts.weight.light,
5555
fontWeightRegular: fonts.weight.regular,
5656
fontWeightMedium: fonts.weight.medium,
5757
fontWeightBold: fonts.weight.bold,
5858
body1: {
59-
fontWeight: fonts.weight.light
60-
}
59+
fontWeight: fonts.weight.light,
60+
},
6161
},
6262
props: {},
6363
overrides: {
6464
MuiButton: {
6565
root: {
66-
fontWeight: fonts.weight.light
67-
}
66+
fontWeight: fonts.weight.light,
67+
},
6868
},
6969
MuiFormControlLabel: {
7070
root: {
71-
color: colors.gray3
72-
}
71+
color: colors.gray3,
72+
},
7373
},
7474
MuiSlider: {
7575
rail: {
7676
color: colors.gray3,
7777
height: 4,
78-
opacity: 1
78+
opacity: 1,
7979
},
8080
root: {
8181
width: '100%',
8282
color: colors.primary,
83-
height: 4
83+
height: 4,
8484
},
8585
track: {
86-
height: 4
86+
height: 4,
8787
},
8888
thumb: {
8989
marginLeft: -4,
9090
height: 14,
91-
width: 14
92-
}
91+
width: 14,
92+
},
9393
},
9494
MuiTextField: {
9595
root: {
9696
color: colors.gray3,
9797
'&:hover': {
98-
color: colors.gray2
99-
}
100-
}
101-
}
102-
}
98+
color: colors.gray2,
99+
},
100+
},
101+
},
102+
},
103103
})
104104

105105
export default theme

0 commit comments

Comments
 (0)