diff --git a/src/components/File/FileModal.tsx b/src/components/File/FileModal.tsx
index 20f1794..74aadf4 100644
--- a/src/components/File/FileModal.tsx
+++ b/src/components/File/FileModal.tsx
@@ -73,7 +73,7 @@ export default function FileModal({
title: 'File Deleted',
message: '',
color: 'green',
- icon: ,
+ icon: ,
});
},
@@ -82,7 +82,7 @@ export default function FileModal({
title: 'Failed to delete file',
message: res.error,
color: 'red',
- icon: ,
+ icon: ,
});
},
@@ -105,7 +105,7 @@ export default function FileModal({
showNotification({
title: 'Copied to clipboard',
message: '',
- icon: ,
+ icon: ,
});
};
@@ -117,7 +117,7 @@ export default function FileModal({
showNotification({
title: 'The file is now ' + (!file.favorite ? 'favorited' : 'unfavorited'),
message: '',
- icon: ,
+ icon: ,
});
},
@@ -126,7 +126,7 @@ export default function FileModal({
title: 'Failed to favorite file',
message: res.error,
color: 'red',
- icon: ,
+ icon: ,
});
},
}
@@ -147,14 +147,14 @@ export default function FileModal({
title: 'Removed from folder',
message: res.name,
color: 'green',
- icon: ,
+ icon: ,
});
} else {
showNotification({
title: 'Failed to remove from folder',
message: res.error,
color: 'red',
- icon: ,
+ icon: ,
});
}
};
@@ -171,14 +171,14 @@ export default function FileModal({
title: 'Added to folder',
message: res.name,
color: 'green',
- icon: ,
+ icon: ,
});
} else {
showNotification({
title: 'Failed to add to folder',
message: res.error,
color: 'red',
- icon: ,
+ icon: ,
});
}
};
@@ -195,14 +195,14 @@ export default function FileModal({
title: 'Created & added to folder',
message: res.name,
color: 'green',
- icon: ,
+ icon: ,
});
} else {
showNotification({
title: 'Failed to create folder',
message: res.error,
color: 'red',
- icon: ,
+ icon: ,
});
}
});
diff --git a/src/components/PasswordStrength.tsx b/src/components/PasswordStrength.tsx
index def66e7..bfc32b9 100644
--- a/src/components/PasswordStrength.tsx
+++ b/src/components/PasswordStrength.tsx
@@ -7,7 +7,7 @@ import { useState } from 'react';
function PasswordRequirement({ meets, label }: { meets: boolean; label: string }) {
return (
- {meets ? : } {label}
+ {meets ? : } {label}
);
}
diff --git a/src/components/Theming.tsx b/src/components/Theming.tsx
index 03cd447..7b94715 100644
--- a/src/components/Theming.tsx
+++ b/src/components/Theming.tsx
@@ -149,7 +149,7 @@ export default function ZiplineTheming({ Component, pageProps, ...props }) {
>
}
+ searchIcon={}
shortcut={['mod + k', '/']}
actions={createSpotlightActions(router)}
>
diff --git a/src/components/pages/Invites.tsx b/src/components/pages/Invites.tsx
index 106de71..f8fe2a2 100644
--- a/src/components/pages/Invites.tsx
+++ b/src/components/pages/Invites.tsx
@@ -77,14 +77,14 @@ function CreateInviteModal({ open, setOpen, updateInvites }) {
showNotification({
title: 'Failed to create invite',
message: res.error,
- icon: ,
+ icon: ,
color: 'red',
});
} else {
showNotification({
title: 'Created invite',
message: '',
- icon: ,
+ icon: ,
color: 'green',
});
}
diff --git a/src/components/pages/Manage/TotpModal.tsx b/src/components/pages/Manage/TotpModal.tsx
index d28d37d..e3bd549 100644
--- a/src/components/pages/Manage/TotpModal.tsx
+++ b/src/components/pages/Manage/TotpModal.tsx
@@ -20,7 +20,7 @@ export function TotpModal({ opened, onClose, deleteTotp, setTotpEnabled }) {
title: 'Error',
message: "Can't generate code as you are already using MFA",
color: 'red',
- icon: ,
+ icon: ,
});
} else {
setSecret(data.secret);
@@ -49,7 +49,7 @@ export function TotpModal({ opened, onClose, deleteTotp, setTotpEnabled }) {
title: 'Success',
message: 'Successfully disabled 2FA',
color: 'green',
- icon: ,
+ icon: ,
});
setTotpEnabled(false);
@@ -80,7 +80,7 @@ export function TotpModal({ opened, onClose, deleteTotp, setTotpEnabled }) {
title: 'Success',
message: 'Successfully enabled 2FA',
color: 'green',
- icon: ,
+ icon: ,
});
setTotpEnabled(true);
diff --git a/src/lib/spotlight.tsx b/src/lib/spotlight.tsx
index 88e816e..5a0316b 100644
--- a/src/lib/spotlight.tsx
+++ b/src/lib/spotlight.tsx
@@ -95,7 +95,7 @@ export const createSpotlightActions = (router: NextRouter): SpotlightAction[] =>
title: 'Copied to clipboard',
message: '',
color: 'green',
- icon: ,
+ icon: ,
});
}),