fix linting

This commit is contained in:
Ivan Shmidt
2020-07-17 11:14:06 +02:00
parent fc06371c6b
commit 8f30306195
@@ -55,7 +55,7 @@ export const TemplateCard = ({
type,
name,
}: TemplateCardProps) => {
const theme = pageTheme[type] ?? pageTheme['other'];
const theme = pageTheme[type] ?? pageTheme.other;
const [gradientStart, gradientStop] = theme.gradient.colors;
const classes = useStyles({ gradientStart, gradientStop });
const href = generatePath(templateRoute.path, { templateName: name });