-
-
-
-
-
-
- {status === 'authenticated'
- ? session.user?.name
- : 'Action Required'}
-
-
- {status === 'authenticated' ? (
- {
- signOut();
- }}
- >
- Sign Out
-
- ) : (
- {
- signIn('google');
- }}
- >
- Log in
-
- )}
-
-
+
+
+ )}
@@ -189,29 +208,38 @@ export function Settings(params: SettingsProps) {
-
{
- const ref = notificationRef.current;
- const bell = ref?.firstChild as HTMLElement;
- bell.classList.toggle('scale-125');
- if (bell.classList.contains('scale-125')) {
- window.localStorage.setItem('notificationSound', 'high');
- } else {
- window.localStorage.setItem('notificationSound', 'low');
- }
- toast('Notification Sound Changed:', {
- description: bell.classList.contains('scale-125')
- ? 'High'
- : 'Low',
- });
- }}
- >
-
-
+
+
+
+ {
+ const ref = notificationRef.current;
+ const bell = ref?.firstChild as HTMLElement;
+ bell.classList.toggle('scale-125');
+ if (bell.classList.contains('scale-125')) {
+ window.localStorage.setItem('notificationSound', 'high');
+ } else {
+ window.localStorage.setItem('notificationSound', 'low');
+ }
+ toast('Notification Sound Changed:', {
+ description: bell.classList.contains('scale-125')
+ ? 'High'
+ : 'Low',
+ });
+ }}
+ >
+
+
+
+
+ Change message notification sound!
+
+
+