diff --git a/renderer/src/components/LoadingSpinner/LoadingSpinner.js b/renderer/src/components/LoadingSpinner/LoadingSpinner.js
index f520f306c..595e0cab2 100644
--- a/renderer/src/components/LoadingSpinner/LoadingSpinner.js
+++ b/renderer/src/components/LoadingSpinner/LoadingSpinner.js
@@ -1,7 +1,11 @@
-export default function LoadingSpinner() {
+export default function LoadingSpinner({
+ height = 'h-10',
+ width = 'w-10',
+ colorTW = 'text-primary',
+}) {
return (
-
diff --git a/renderer/src/layouts/projects/ImportProjectPopUp.js b/renderer/src/layouts/projects/ImportProjectPopUp.js
index 7224a951c..55879aedb 100644
--- a/renderer/src/layouts/projects/ImportProjectPopUp.js
+++ b/renderer/src/layouts/projects/ImportProjectPopUp.js
@@ -18,6 +18,7 @@ import * as logger from '../../logger';
import ConfirmationModal from '../editor/ConfirmationModal';
import burrito from '../../lib/BurritoTemplete.json';
import { mergeProject } from './Import/mergeProject';
+import { LoadingSpinner } from '@/components/LoadingSpinner';
export default function ImportProjectPopUp(props) {
const {
@@ -325,7 +326,9 @@ export default function ImportProjectPopUp(props) {
className="py-2 px-7 rounded shadow bg-success text-white uppercase text-xs tracking-widest font-semibold"
onClick={() => importProject()}
>
- {t('btn-import')}
+ {importProgress.importStarted
+ ?
+ : t('btn-import')}
)}