diff --git a/commafeed-client/src/components/settings/CustomCss.tsx b/commafeed-client/src/components/settings/CustomCss.tsx index c476ba8b..90c1ac09 100644 --- a/commafeed-client/src/components/settings/CustomCss.tsx +++ b/commafeed-client/src/components/settings/CustomCss.tsx @@ -1,9 +1,10 @@ import { Trans } from "@lingui/macro" -import { Button, Group, Stack, Textarea } from "@mantine/core" +import { Box, Button, Group, Stack, Textarea } from "@mantine/core" import { useForm } from "@mantine/form" -import { client } from "app/client" +import { client, errorToStrings } from "app/client" import { redirectToSelectedSource } from "app/slices/redirect" import { useAppDispatch, useAppSelector } from "app/store" +import { Alert } from "components/Alert" import { useEffect } from "react" import { useAsyncCallback } from "react-async-hook" import { TbDeviceFloppy } from "react-icons/tb" @@ -40,29 +41,37 @@ export function CustomCss() { }, [setValues, customCss]) return ( -
+ + > ) }