fix: render loading spinner if no hash
This commit is contained in:
3
types/components/current/asides/contact.ts
Normal file
3
types/components/current/asides/contact.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import type { ContactNode } from "@/types/requests/asides/contact"
|
||||
|
||||
export type ContactProps = ContactNode
|
||||
@@ -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>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user