Skip to content

Commit

Permalink
Merge pull request #117 from dappforce/fix-imports
Browse files Browse the repository at this point in the history
Remove unused imports
  • Loading branch information
olehmell authored Dec 6, 2023
2 parents ebe4774 + dc70795 commit 126c6a9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/components/chat/ChatFloatingModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { createPortal } from 'react-dom'
import { useSendEvent } from '../providers/AnalyticContext'
import { isCreatorStakingPage } from '../utils'
import { useChatContext } from '../providers/ChatContext'
import { useResponsiveSize } from '../responsive'

const storageName = 'grill:unreadCount'

Expand All @@ -21,7 +20,6 @@ export default function ChatFloatingModal ({
}: ChatFloatingModalProps) {
const sendEvent = useSendEvent()
const { open, setOpen, setSpaceId, setMetadata } = useChatContext()
const { isLargeDesktop } = useResponsiveSize()

const [ unreadCount, setUnreadCount ] = useState(0)

Expand Down
4 changes: 0 additions & 4 deletions src/layout/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ import clsx from 'clsx'
import dynamic from 'next/dynamic'
import styles from './Sider.module.sass'
import { useCurrentAccount } from '../components/providers/MyExtensionAccountsContext'
import ChatSidePanel from '@/components/chat/ChatSidePanel'
import { useResponsiveSize } from '@/components/responsive'
import { isCreatorStakingPage } from '@/components/utils'

const TopMenu = dynamic(() => import('../components/topMenu/TopMenu'), { ssr: false })
const Menu = dynamic(() => import('./SideMenu'), { ssr: false })
Expand Down Expand Up @@ -53,7 +50,6 @@ const DefaultNav: FunctionComponent<{ className?: string }> = ({ className }) =>
const Navigation = (props: Props): JSX.Element => {
const { children } = props
const { state: { asDrawer } } = useSidebarCollapsed()
const { isLargeDesktop } = useResponsiveSize()
const { asPath } = useRouter()

const currentAccount = useCurrentAccount()
Expand Down

0 comments on commit 126c6a9

Please sign in to comment.