🐛 Fix anonymous features hook (#750)

This commit is contained in:
Montassar Ghanmy
2024-11-27 12:50:42 +01:00
committed by GitHub
parent 9fefe931fb
commit 5cb878b9ae
2 changed files with 34 additions and 5 deletions
@@ -29,7 +29,7 @@ import LocalStorage from 'app/features/global/framework/local-storage-service';
export default () => {
const companyId = useRouterCompany();
const { FeatureToggles, activeFeatureNames } = useFeatureToggles();
const { FeatureToggles, activeFeatureNames } = useFeatureToggles(true); // use toggle for anonymous user on public view
//Create a different local storage for shared view
useEffect(() => {