mirror of
https://github.com/UiO-Gaming/uiogaming.no.git
synced 2026-11-05 13:56:47 +01:00
fix inproper id type build error
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -9,7 +9,7 @@ import BlockContent from "@sanity/block-content-to-react"
|
||||
import Back from "../components/items/back"
|
||||
|
||||
export const query = graphql`
|
||||
query($id: String!) {
|
||||
query($id: String) {
|
||||
sanityPost(_id: { eq: $id }) {
|
||||
_createdAt(formatString: "DD. MMMM, YYYY", locale: "nb_NO")
|
||||
title
|
||||
|
||||
@@ -9,7 +9,7 @@ import Back from "../components/items/back"
|
||||
import { FaMapMarkerAlt, FaCalendarAlt } from "react-icons/fa"
|
||||
|
||||
export const query = graphql`
|
||||
query($id: String!) {
|
||||
query($id: String) {
|
||||
sanityEvent(_id: { eq: $id }) {
|
||||
title
|
||||
location
|
||||
|
||||
Reference in new issue
Block a user