Skip to content

Hooked on you 🤣  #63

@Psydwinder

Description

@Psydwinder

Hey everyone,

There are a lot of components and hooks that you've called but are not using for example with the following code

This code is from the index.js

import { Auth } from '@supabase/auth-ui-react'
import { useSession, useSupabaseClient } from '@supabase/auth-helpers-react'
import Account from '@components/Account'
import Login from '../components/spaces/CreateSpace'
import CreateSpace from '../components/spaces/CreateSpace'
import { userAgent } from 'next/server'
import Avatar from 'components/Avatar'
import { useRouter } from 'next/router'
import { useEffect } from 'react'

Account, Login, CreateSpace, {userAgent} and Avatar aren't being used. Maybe consider removing them and cleaning up the code to make it slightly easier to read.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions