Răsfoiți Sursa

fix path to import

Yuki Takei 1 an în urmă
părinte
comite
f92cdaa9ab

+ 1 - 1
apps/app/src/client/components/PageComment/Comment.module.scss

@@ -1,5 +1,5 @@
 @use '@growi/core-styles/scss/bootstrap/init' as bs;
 @use '@growi/core-styles/scss/bootstrap/init' as bs;
-@use '../../styles/variables' as var;
+@use '~/styles/variables' as var;
 @use './comment-inheritance';
 @use './comment-inheritance';
 
 
 .comment-styles :global {
 .comment-styles :global {

+ 1 - 1
apps/app/src/client/components/StaffCredit/StaffCredit.tsx

@@ -19,7 +19,7 @@ const logger = loggerFactory('growi:cli:StaffCredit');
 
 
 // define fonts
 // define fonts
 const pressStart2P = localFont({
 const pressStart2P = localFont({
-  src: '../../../resource/fonts/PressStart2P-latin.woff2',
+  src: '../../../../resource/fonts/PressStart2P-latin.woff2',
   display: 'block',
   display: 'block',
 });
 });