From c018d78d593e661c38c5ac9cf041a0fdc2568973 Mon Sep 17 00:00:00 2001 From: 8845musign <8845musign@gmail.com> Date: Fri, 27 Dec 2024 12:44:55 +0900 Subject: [PATCH] fix: Build action may have failed due to import problems. --- src/components/react/examples/box/backgroundColorExample.tsx | 4 +--- src/pages/components/examples/box/backgroundColor.astro | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/react/examples/box/backgroundColorExample.tsx b/src/components/react/examples/box/backgroundColorExample.tsx index 4c09c65..e62fe3c 100644 --- a/src/components/react/examples/box/backgroundColorExample.tsx +++ b/src/components/react/examples/box/backgroundColorExample.tsx @@ -1,7 +1,7 @@ import { Box, Stack } from '@ubie/ubie-ui'; import { type FC } from 'react'; -const BackgroundColorExample: FC = () => { +export const BackgroundColorExample: FC = () => { return ( @@ -197,5 +197,3 @@ const BackgroundColorExample: FC = () => { ); }; - -export default BackgroundColorExample; diff --git a/src/pages/components/examples/box/backgroundColor.astro b/src/pages/components/examples/box/backgroundColor.astro index 1356ea6..4d58099 100644 --- a/src/pages/components/examples/box/backgroundColor.astro +++ b/src/pages/components/examples/box/backgroundColor.astro @@ -1,5 +1,5 @@ --- -import BackgroundColorExample from '../../../../components/react/examples/box/backgroundColorExample'; +import { BackgroundColorExample } from '../../../../components/react/examples/box/backgroundColorExample'; import ExampleLayout from '@layouts/ExampleLayout.astro'; ---