@bbki.ng/site 1.7.2 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/package.json +1 -1
- package/src/components/Spinner.tsx +2 -11
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import React, { useContext, useEffect } from "react";
|
|
2
2
|
import { GlobalLoadingContext } from "@/global_loading_state_provider";
|
|
3
|
-
import { LoadingSpiral } from "@bbki.ng/components";
|
|
4
3
|
|
|
5
4
|
export const Spinner = (props: { disableDotIndicator?: boolean }) => {
|
|
6
|
-
const {
|
|
7
|
-
disableDotIndicator,
|
|
8
|
-
} = props;
|
|
5
|
+
const { disableDotIndicator } = props;
|
|
9
6
|
|
|
10
7
|
const { setIsLoading } = useContext(GlobalLoadingContext);
|
|
11
8
|
|
|
@@ -19,11 +16,5 @@ export const Spinner = (props: { disableDotIndicator?: boolean }) => {
|
|
|
19
16
|
};
|
|
20
17
|
}, []);
|
|
21
18
|
|
|
22
|
-
return
|
|
23
|
-
<div className="h-full w-full grid place-items-center">
|
|
24
|
-
<LoadingSpiral
|
|
25
|
-
className="relative -top-128"
|
|
26
|
-
/>
|
|
27
|
-
</div>
|
|
28
|
-
);
|
|
19
|
+
return <div className="h-full w-full grid place-items-center"></div>;
|
|
29
20
|
};
|