{group.members.map((member) => (
{
const { subdomainInfo, isLoading: isSubdomainLoading } =
useSubdomainPassport();
const [data, setData] = useState<
- CreatorPassportResponse | ProjectPassportResponse | GroupPassportResponse | null
+ | CreatorPassportResponse
+ | ProjectPassportResponse
+ | GroupPassportResponse
+ | null
>(null);
const [loading, setLoading] = useState(true);
const [error, setError] = useState(null);
@@ -154,14 +157,8 @@ const SubdomainPassport = () => {
// Loading passport data
if (loading) {
- const passportType = subdomainInfo.isCreatorPassport
- ? "creator"
- : "group";
- return (
-
- );
+ const passportType = subdomainInfo.isCreatorPassport ? "creator" : "group";
+ return ;
}
// Error loading passport
diff --git a/vercel.json b/vercel.json
index a7745110..4ebeb49a 100644
--- a/vercel.json
+++ b/vercel.json
@@ -47,8 +47,16 @@
}
],
"rewrites": [
- { "source": "/:path(.*)", "has": [{ "type": "host", "value": "*.aethex.me" }], "destination": "/index.html" },
- { "source": "/:path(.*)", "has": [{ "type": "host", "value": "*.aethex.space" }], "destination": "/index.html" },
+ {
+ "source": "/:path(.*)",
+ "has": [{ "type": "host", "value": "*.aethex.me" }],
+ "destination": "/index.html"
+ },
+ {
+ "source": "/:path(.*)",
+ "has": [{ "type": "host", "value": "*.aethex.space" }],
+ "destination": "/index.html"
+ },
{ "source": "/", "destination": "/index.html" },
{ "source": "/login", "destination": "/index.html" },
{ "source": "/login/:path*", "destination": "/index.html" },