Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
danpeen committed Nov 20, 2024
1 parent a3674d3 commit 3f767c5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/bridge/bridge-react/src/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ export function createBridgeComponent<T>(bridgeInfo: ProviderFnParams<T>) {
ReactDOM.unmountComponentAtNode(info.dom);
}

(instance as any)?.bridgeHook?.lifecycle?.afterBridgeDestroy?.emit(
info,
);
instance?.bridgeHook?.lifecycle?.afterBridgeDestroy?.emit(info);
},
rawComponent: bridgeInfo.rootComponent,
__BRIDGE_FN__: (_args: T) => {},
Expand Down

0 comments on commit 3f767c5

Please sign in to comment.