Skip to content

Commit

Permalink
fix dynamic imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jgettings committed Oct 2, 2024
1 parent b24d122 commit ef19b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Skills/Description.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const markdownComponents: Components = {
};

const textFetcher = (name: string): Promise<string> =>
import(/* @vite-ignore */ `/src/data/skills/${name}.md`).then(
import(`../../data/skills/${name}.md`).then(
(md: { markdown: string }) => md.markdown,
);

Expand Down

0 comments on commit ef19b6d

Please sign in to comment.