Skip to content

Commit

Permalink
fix storybook theme preloads
Browse files Browse the repository at this point in the history
  • Loading branch information
kakkokari-gtyih committed Sep 6, 2024
1 parent 823b158 commit 436d444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/.storybook/preload-theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const keys = [
'd-u0',
]

await Promise.all(keys.map((key) => readFile(new URL(`../src/themes/${key}.json5`, import.meta.url), 'utf8'))).then((sources) => {
await Promise.all(keys.map((key) => readFile(new URL(`../../frontend-shared/themes/${key}.json5`, import.meta.url), 'utf8'))).then((sources) => {
writeFile(
new URL('./themes.ts', import.meta.url),
`export default ${JSON.stringify(
Expand Down

0 comments on commit 436d444

Please sign in to comment.