mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-04 04:33:10 +00:00
Formated Files
This commit is contained in:
parent
8ef97bf854
commit
bdb5925975
5 changed files with 51 additions and 47 deletions
|
@ -1,6 +1,6 @@
|
|||
import { createClient } from "@liveblocks/client";
|
||||
import { createRoomContext, createLiveblocksContext } from "@liveblocks/react";
|
||||
|
||||
import { createClient } from '@liveblocks/client';
|
||||
import { createRoomContext, createLiveblocksContext } from '@liveblocks/react';
|
||||
|
||||
const client = createClient({
|
||||
publicApiKey: process.env.NEXT_PUBLIC_LIVEBLOCKS_PUBLIC_KEY!,
|
||||
throttle: 16,
|
||||
|
@ -55,8 +55,10 @@ export const {
|
|||
useMarkThreadAsRead,
|
||||
useRoomNotificationSettings,
|
||||
useUpdateRoomNotificationSettings,
|
||||
}
|
||||
} = createRoomContext<Presence, Storage, UserMeta, RoomEvent, ThreadMetadata>(client);
|
||||
},
|
||||
} = createRoomContext<Presence, Storage, UserMeta, RoomEvent, ThreadMetadata>(
|
||||
client
|
||||
);
|
||||
|
||||
export const {
|
||||
suspense: {
|
||||
|
@ -67,5 +69,5 @@ export const {
|
|||
useUnreadInboxNotificationsCount,
|
||||
useUser,
|
||||
useRoomInfo,
|
||||
}
|
||||
},
|
||||
} = createLiveblocksContext<UserMeta, ThreadMetadata>(client);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue