Fixup: error boundary context not needed, local error resets already

This commit is contained in:
Valere
2025-03-17 11:26:16 +01:00
parent 20ba3e9573
commit 03b5f0f2f9
5 changed files with 5 additions and 116 deletions

View File

@@ -68,7 +68,6 @@ import {
useSetting,
} from "../settings/settings";
import { useTypedEventEmitter } from "../useEvents";
import { GroupCallErrorBoundaryContextProvider } from "./GroupCallErrorBoundaryContextProvider.tsx";
import { useGroupCallErrorBoundary } from "./useCallErrorBoundary.ts";
declare global {
@@ -90,15 +89,7 @@ interface Props {
widget: WidgetHelpers | null;
}
export const GroupCallView: FC<Props> = (props) => {
return (
<GroupCallErrorBoundaryContextProvider>
<GroupCallViewInner {...props} />
</GroupCallErrorBoundaryContextProvider>
);
};
export const GroupCallViewInner: FC<Props> = ({
export const GroupCallView: FC<Props> = ({
client,
isPasswordlessUser,
confineToRoom,