Skip to content

Commit

Permalink
hack around type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
julianjelfs committed Nov 17, 2024
1 parent 0d3e902 commit b8e64f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/app/src/components/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@
setContext<OpenChat>("client", client);
let profileTrace = client.showTrace();
let videoCallElement: ActiveCall;
// I can't (yet) find a way to avoid using "any" here. Will try to improve but need to commit this crime for the time being
let videoCallElement: any;
let landingPageRoute = $derived(isLandingPageRoute($pathParams));
let homeRoute = $derived($pathParams.kind === "home_route");
let showLandingPage = $derived(
Expand Down
2 changes: 2 additions & 0 deletions frontend/app/src/stores/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ function updateParticipant(
});
}

export type ActiveVideoCallStore = typeof activeVideoCall;

export const activeVideoCall = {
subscribe: activeStore.subscribe,
setCall: (chatId: ChatIdentifier, messageId: bigint, call: DailyCall) => {
Expand Down

0 comments on commit b8e64f4

Please sign in to comment.