Skip to content

Commit e43bc3d

Browse files
committed
extraneous func
1 parent 747e6bc commit e43bc3d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

components/forms/MiniProfile.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useSideBarOptionSetter } from '@/context/SideBarOptionCtx';
22
import { getOrCreateDMChannel } from '@/lib/DMChannelHelper';
3-
import { useAddDMChannel, useDMChannels, useSetChannel } from '@/lib/store';
3+
import { useDMChannels, useSetChannel } from '@/lib/store';
44
import { createMessage } from '@/services/message.service';
55
import { Role, ServerUser, User } from '@/types/dbtypes';
66
import { useSupabaseClient, useUser } from '@supabase/auth-helpers-react';
@@ -23,7 +23,6 @@ function WrappedComponent({
2323
const dmChannels = useDMChannels();
2424
const setChannel = useSetChannel();
2525
const setSideBarOption = useSideBarOptionSetter();
26-
const addDMChannel = useAddDMChannel();
2726

2827
return (
2928
<div className="flex flex-col space-y-2 items-center p-3">

0 commit comments

Comments
 (0)