chore: clean up typings

This commit is contained in:
Arvid Norlin
2024-04-23 15:39:23 +02:00
parent b12ccfafef
commit 1e8f23de38
8 changed files with 71 additions and 66 deletions

View File

@@ -1,7 +1,5 @@
"use client"
import { Lang } from "@/constants/languages"
import { _ } from "@/lib/translation"
import { trpc } from "@/lib/trpc/client"
import Container from "../Container"
@@ -16,7 +14,7 @@ import type { Page } from "@/types/components/myPages/myStays/page"
export default function PreviousStays({
lang,
title,
title = "", // TODO: Should the title be optional?
subtitle,
link,
}: AccountPageComponentProps) {