@appcorp/fusion-storybook 0.1.58 → 0.1.59

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.
@@ -117,7 +117,7 @@ export const WorkspaceStateContextProvider = ({ children, }) => {
117
117
  export const useWorkspaceModule = () => {
118
118
  const { state, dispatch } = useWorkspaceContext();
119
119
  const plans = useContext(PlansContext);
120
- const workspace = getCachedWorkspaceSync();
120
+ const [workspace] = useState(() => getCachedWorkspaceSync());
121
121
  const t = useTranslations("workspace");
122
122
  // ============================================================================
123
123
  // UTILITIES
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/fusion-storybook",
3
- "version": "0.1.58",
3
+ "version": "0.1.59",
4
4
  "scripts": {
5
5
  "build-storybook": "storybook build",
6
6
  "build:next": "next build",