@djb25/digit-ui-module-fsm 1.0.14 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21981,9 +21981,11 @@ const FSMLinks = ({
21981
21981
  t
21982
21982
  } = useTranslation();
21983
21983
  const [clearParams] = Digit.Hooks.useSessionStorage("FSM_CITIZEN_FILE_PROPERTY", {});
21984
- useEffect(() => {
21985
- clearParams();
21986
- }, []);
21984
+ useEffect(() => userType === "employee" && Digit.LocalizationService.getLocale({
21985
+ modules: [`rainmaker-${Digit.ULBService.getCurrentTenantId()}`],
21986
+ locale: Digit.StoreData.getCurrentLanguage(),
21987
+ tenantId: Digit.ULBService.getCurrentTenantId()
21988
+ }), []);
21987
21989
  const roleBasedLoginRoutes = [{
21988
21990
  role: "FSM_DSO",
21989
21991
  from: "/digit-ui/citizen/fsm/dso-dashboard",