diff --git a/package-lock.json b/package-lock.json index e6e2970..e2c2f49 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8541,6 +8541,7 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/react-lottie/-/react-lottie-1.2.4.tgz", "integrity": "sha512-kBGxI+MIZGBf4wZhNCWwHkMcVP+kbpmrLWH/SkO0qCKc7D7eSPcxQbfpsmsCo8v2KCBYjuGSou+xTqK44D/jMg==", + "license": "MIT", "dependencies": { "babel-runtime": "^6.26.0", "lottie-web": "^5.1.3" diff --git a/src/app/business/apply/page.tsx b/src/app/business/apply/page.tsx index e277932..b425e16 100644 --- a/src/app/business/apply/page.tsx +++ b/src/app/business/apply/page.tsx @@ -48,7 +48,7 @@ export default function ApplyBusiness() { } } - const { error } = await supabase + const { data, error } = await supabase .from("business_application") .insert([ { @@ -66,7 +66,7 @@ export default function ApplyBusiness() { ]) .select(); setSucess(true); - + // console.table(data); Swal.fire({ icon: error == null ? "success" : "error", title: error == null ? "success" : "Error: " + error.code, diff --git a/src/app/loading.tsx b/src/app/loading.tsx index 97af30b..0f8be55 100644 --- a/src/app/loading.tsx +++ b/src/app/loading.tsx @@ -1,22 +1,8 @@ +import { Loader } from "@/components/loading/loader"; export default function Loading() { return ( -
Loading data...
-