mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
refactor(FE-316): Guard unsubscribe call with optional chaining
This commit is contained in:
@@ -383,7 +383,7 @@ const UniformityForm = ({
|
||||
});
|
||||
|
||||
return () => {
|
||||
unsub();
|
||||
unsub?.();
|
||||
useUiStore.getState().setExpandedDrawerOpen(false);
|
||||
useUiStore.getState().setExpandedDrawerContent(null);
|
||||
useUiStore.getState().setIsNextStep(false);
|
||||
|
||||
Reference in New Issue
Block a user