diff --git a/src/components/Author/AuthorBadge/AuthorBadge.tsx b/src/components/Author/AuthorBadge/AuthorBadge.tsx index 5c9683f1..83876f54 100644 --- a/src/components/Author/AuthorBadge/AuthorBadge.tsx +++ b/src/components/Author/AuthorBadge/AuthorBadge.tsx @@ -64,18 +64,7 @@ export const AuthorBadge = (props: Props) => { return isSubscribing() ? t('subscribing...') : t('Subscribe') }) - const unsubscribeValue = createMemo(() => { - if (props.iconButtons) { - return - } - - return ( - <> - {t('Following')} - {t('Unfollow')} - - ) - }) + const unsubscribeValue = () => {} return (
@@ -142,7 +131,19 @@ export const AuthorBadge = (props: Props) => {
- - - + + ) diff --git a/src/components/Nav/Snackbar.tsx b/src/components/Nav/Snackbar.tsx index 540e41bb..ac9b1091 100644 --- a/src/components/Nav/Snackbar.tsx +++ b/src/components/Nav/Snackbar.tsx @@ -4,6 +4,7 @@ import styles from './Snackbar.module.scss' import { Transition } from 'solid-transition-group' import { clsx } from 'clsx' import { Icon } from '../_shared/Icon' +import { ShowOnlyOnClient } from '../_shared/ShowOnlyOnClient' export const Snackbar = () => { const { snackbarMessage } = useSnackbar() @@ -15,20 +16,22 @@ export const Snackbar = () => { [styles.success]: snackbarMessage()?.type === 'success' })} > - setTimeout(() => done(), 300)} - > - -
- - - - {snackbarMessage().body} -
-
-
+ + setTimeout(() => done(), 300)} + > + +
+ + + + {snackbarMessage().body} +
+
+
+
) }