diff --git a/web/components/action-buttons/NotifyButton.tsx b/web/components/action-buttons/NotifyButton.tsx index e292cba29..7e9e1b9e8 100644 --- a/web/components/action-buttons/NotifyButton.tsx +++ b/web/components/action-buttons/NotifyButton.tsx @@ -4,11 +4,12 @@ import { FC } from 'react'; import styles from './ActionButton/ActionButton.module.scss'; export type NotifyButtonProps = { + text?: string; onClick?: () => void; }; -export const NotifyButton: FC = ({ onClick }) => ( +export const NotifyButton: FC = ({ onClick, text }) => ( ); diff --git a/web/components/ui/OfflineBanner/OfflineBanner.tsx b/web/components/ui/OfflineBanner/OfflineBanner.tsx index 9363b1b62..9c8f8d700 100644 --- a/web/components/ui/OfflineBanner/OfflineBanner.tsx +++ b/web/components/ui/OfflineBanner/OfflineBanner.tsx @@ -50,7 +50,7 @@ export const OfflineBanner: FC = ({
{fediverseAccount && } - {notificationsEnabled && } + {notificationsEnabled && }