mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-06 23:30:28 +03:00
Remove unneeded comments
This commit is contained in:
parent
2c8ae9693b
commit
28f5d8afe8
1 changed files with 0 additions and 2 deletions
|
|
@ -25,7 +25,6 @@ export function CallProvider({ children }: CallProviderProps) {
|
||||||
const [activeApiTransport, setActiveApiTransport] = useState<ITransport | null>(null);
|
const [activeApiTransport, setActiveApiTransport] = useState<ITransport | null>(null);
|
||||||
const [transportRoomId, setTransportRoomId] = useState<string | null>(null);
|
const [transportRoomId, setTransportRoomId] = useState<string | null>(null);
|
||||||
|
|
||||||
// --- Actions ---
|
|
||||||
const setActiveCallRoomId = useCallback(
|
const setActiveCallRoomId = useCallback(
|
||||||
(roomId: string | null) => {
|
(roomId: string | null) => {
|
||||||
logger.debug(`CallContext: Setting activeCallRoomId to ${roomId}`);
|
logger.debug(`CallContext: Setting activeCallRoomId to ${roomId}`);
|
||||||
|
|
@ -96,7 +95,6 @@ export function CallProvider({ children }: CallProviderProps) {
|
||||||
[activeApiTransport, activeCallRoomId, transportRoomId]
|
[activeApiTransport, activeCallRoomId, transportRoomId]
|
||||||
);
|
);
|
||||||
|
|
||||||
// --- Memoize Context Value ---
|
|
||||||
const contextValue = useMemo<CallContextState>(
|
const contextValue = useMemo<CallContextState>(
|
||||||
() => ({
|
() => ({
|
||||||
activeCallRoomId,
|
activeCallRoomId,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue