From 9ea68875a3be19905cd3c911878483eed9db7d0e Mon Sep 17 00:00:00 2001 From: Benson Cho <100653148+bcho892@users.noreply.github.com> Date: Fri, 12 Jul 2024 20:27:20 +1200 Subject: [PATCH] Revert changes in storybook fix pr (#621) * fix storybook * fix the storybook loading --- client/package.json | 3 +++ .../components/generic/AboutSection/AboutSection.story.tsx | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/client/package.json b/client/package.json index 6a91203a1..c1420655e 100644 --- a/client/package.json +++ b/client/package.json @@ -66,5 +66,8 @@ "extends": [ "plugin:storybook/recommended" ] + }, + "installConfig": { + "hoistingLimits": "workspaces" } } diff --git a/client/src/components/generic/AboutSection/AboutSection.story.tsx b/client/src/components/generic/AboutSection/AboutSection.story.tsx index 6d0bc82da..78ce3d8d1 100644 --- a/client/src/components/generic/AboutSection/AboutSection.story.tsx +++ b/client/src/components/generic/AboutSection/AboutSection.story.tsx @@ -1,7 +1,7 @@ import type { Meta, StoryObj } from "@storybook/react" import AboutSection from "./AboutSection" -import ImageLeft from "@/assets/images/hut.png" -import ImageRight from "@/assets/images/MountainBackgroundImage.png" +import ImageLeft from "public/images/MountainBackgroundImage.png" +import ImageRight from "public/images/AboutBackgroundImage.png" const meta: Meta = { component: AboutSection