diff --git a/client/components/dialog.jsx b/client/components/dialog.jsx index fcbab227f..9e88afa33 100644 --- a/client/components/dialog.jsx +++ b/client/components/dialog.jsx @@ -2,17 +2,17 @@ import React from "react"; const { useRef, useEffect } = React; -function Dialog({ dismissKeys, closeText = 'Close', blocking = false, ...rest }) { +function Dialog({ dismisskeys, closeText = 'Close', blocking = false, ...rest }) { const dialogRef = useRef(null); useEffect(()=>{ - if (dismissKeys.length !== 0) { + if (dismisskeys.length !== 0) { blocking ? dialogRef.current?.showModal() : dialogRef.current?.show(); } - }, [dialogRef.current, dismissKeys]); + }, [dialogRef.current, dismisskeys]); const dismiss = () => { - dismissKeys.forEach(key => { + dismisskeys.forEach(key => { if (key) { localStorage.setItem(key, 'true'); } diff --git a/client/homebrew/brewRenderer/notificationPopup/notificationPopup.jsx b/client/homebrew/brewRenderer/notificationPopup/notificationPopup.jsx index 3ff76332a..74da4fa7d 100644 --- a/client/homebrew/brewRenderer/notificationPopup/notificationPopup.jsx +++ b/client/homebrew/brewRenderer/notificationPopup/notificationPopup.jsx @@ -53,7 +53,7 @@ const NotificationPopup = ()=>{ )) }; - return + return

Notice