diff --git a/components/DirectoryLayout.tsx b/components/DirectoryLayout.tsx index a591dcc..7f5b653 100644 --- a/components/DirectoryLayout.tsx +++ b/components/DirectoryLayout.tsx @@ -53,7 +53,9 @@ const DirectoryLayout = (props: LayoutProps) => { if (!startupsQuery?.data) return []; // eslint-disable-next-line @typescript-eslint/no-unsafe-return return startupsQuery.data?.filter((project: Project) => { - const matchesName = project.name.toLowerCase().includes(startupSearchText.toLowerCase()); + const matchesName = project.name + .toLowerCase() + .includes(startupSearchText.toLowerCase()); // const matchesCategory = selectedProjectCategory === "" || project.category === selectedProjectCategory; @@ -64,7 +66,9 @@ const DirectoryLayout = (props: LayoutProps) => { return (
-

The Directory

+

+ The Directory +

= {}; for (const startupMember of profiles) { // eslint-disable-next-line no-await-in-loop - const { data, error } = await supabase.storage.from("avatars").download(startupMember.id); + const { data, error } = await supabase.storage + .from("avatars") + .download(startupMember.id); if (error) { console.error("Error downloading image"); @@ -93,7 +114,10 @@ export default function StartupTile({ startup }: { startup: Startup }) { return ( <> {/* eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions */} -
  • setDialogOpen(true)} className="m-0 p-0 list-none rounded-md"> +
  • setDialogOpen(true)} + className="m-0 p-0 list-none rounded-md" + >
    -

    {name}

    +

    + {name} +

    -

    {name}

    +

    + {name} +

  • - setDialogOpen(false)}> + setDialogOpen(false)} + >