🐛 Fix an error with @nivo/line

Doesn't support react 18 https://github.com/plouc/nivo/issues/230
This commit is contained in:
ajnart
2022-08-24 19:32:06 +02:00
committed by Manuel Ruwe
parent 4e7d3edb5f
commit 4f521b5c00
5 changed files with 10 additions and 25 deletions

View File

@@ -1,8 +1,8 @@
import React from 'react';
import { createStyles, Switch, Group, useMantineColorScheme, Kbd } from '@mantine/core';
import { IconSun as Sun, IconMoonStars as MoonStars } from '@tabler/icons';
import { useConfig } from '../../tools/state';
import { useTranslation } from 'next-i18next';
import { useConfig } from '../../tools/state';
const useStyles = createStyles((theme) => ({
root: {