Skip to content

Commit

Permalink
fix : vite config conlict with axios
Browse files Browse the repository at this point in the history
  • Loading branch information
Safouene1 committed Apr 26, 2024
1 parent befff7e commit dd16be5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ export const LoadingCards = () => {
<div className="bg-card dark:bg-gray-700 rounded-lg p-4">
<div className="animate-pulse flex space-x-4">
<div className="flex-1 space-y-4 py-1">
<div className="h-4 bg-slate-200 rounded w-3/4"></div>
<div className="h-4 bg-slate-200 dark:bg-slate-600 rounded w-3/4"></div>
<div className="space-y-2">
<div className="h-4 bg-slate-200 rounded"></div>
<div className="h-4 bg-slate-200 rounded w-5/6"></div>
<div className="h-4 bg-slate-200 dark:bg-slate-600 rounded"></div>
<div className="h-4 bg-slate-200 dark:bg-slate-600 rounded w-5/6"></div>
</div>
</div>
</div>
Expand Down
6 changes: 1 addition & 5 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ export default defineConfig(({ command }) => {
},
},
},
define: {
global: {
basename: isProd ? basenameProd : "",
},
},

};
});

0 comments on commit dd16be5

Please sign in to comment.