diff --git a/components/CollectionCard.tsx b/components/CollectionCard.tsx index cd7d80e..7ac8371 100644 --- a/components/CollectionCard.tsx +++ b/components/CollectionCard.tsx @@ -148,13 +148,13 @@ export default function CollectionCard({ collection, className }: Props) { ); }) .slice(0, 3)} - {collection.members.length - 3 > 0 ? ( + {collection.members.length - 3 > 0 && (
{t("collection")}
- {link.collection.name ? ( + {link.collection.name && ({t("collection")}
- {link.collection.name ? ( + {link.collection.name && ({t("no_users_found")}
)} - {newUserModal ? ( + {newUserModal && (
diff --git a/pages/dashboard.tsx b/pages/dashboard.tsx
index 78239de..01735ac 100644
--- a/pages/dashboard.tsx
+++ b/pages/dashboard.tsx
@@ -60,11 +60,11 @@ export default function Dashboard() {
handleNumberOfLinksToShow();
}, [width]);
- const importBookmarks = async (e: any, format: MigrationFormat) => {
- const file: File = e.target.files[0];
+ const importBookmarks = async (e: React.ChangeEvent