⬆ Bump minor frontend deps

♻ Stop using React.FC
This commit is contained in:
nikolark committed 2022-04-17 15:00:10 +02:00
1 parent a038340e4a
commit 8577fb9f11
13 files changed
+985 -924

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ import React from "react";
import styles from "./Toast.module.css";
import { useToast } from "./ToastProvider";
export const Toast: React.FC = () => {
export const Toast = (): JSX.Element => {
const { showToast, message, background, visible } = useToast();
const classes = clsx([styles[background], styles.toast], { [styles.visible]: visible });