fix: render loading spinner if no hash

This commit is contained in:
Christel Westerberg
2024-02-12 16:35:24 +01:00
parent a6475aaa97
commit fc06d116fd
8 changed files with 38 additions and 29 deletions

View File

@@ -0,0 +1,3 @@
import type { ContactNode } from "@/types/requests/asides/contact"
export type ContactProps = ContactNode

View File

@@ -1,23 +1,25 @@
import type { Edges } from "../utils/edges"
export type ContactNode = {
mailing_address: {
city: string
country: string
name: string
street: string
zip: string
}
phone: string
title: string
visiting_address: {
city: string
country: string
street: string
zip: string
}
}
export type Contact = {
contact: {
contactConnection: Edges<{
mailing_address: {
city: string
country: string
name: string
street: string
zip: string
}
phone: string
title: string
visiting_address: {
city: string
country: string
street: string
zip: string
}
}>
contactConnection: Edges<ContactNode>
}
}