Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 5fd8954

Browse files
Hubert KosterHubert Koster
authored andcommitted
chore: small improvement
1 parent a968091 commit 5fd8954

File tree

1 file changed

+1
-1
lines changed
  • src/features/Apiexplorer/SubscribeRenderer

1 file changed

+1
-1
lines changed

src/features/Apiexplorer/SubscribeRenderer/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function SubscribeRenderer<T extends TSocketSubscribableEndpointNames>({
4646
useEffect(() => {
4747
const has_active_subscription = full_response !== undefined && !is_authorized;
4848
if (has_active_subscription) unsubscribe();
49-
}, [is_authorized]);
49+
}, [full_response, is_authorized]);
5050

5151
const parseRequestJSON = useCallback(() => {
5252
let request_data: TSocketRequestProps<T> extends never ? undefined : TSocketRequestProps<T>;

0 commit comments

Comments
 (0)