chore: lint fix

This commit is contained in:
Michael Zetterberg
2024-04-22 06:58:50 +02:00
parent abdc48f57f
commit 14e93eba7c
82 changed files with 282 additions and 160 deletions

View File

@@ -1,8 +1,11 @@
import { serverClient } from "@/lib/trpc/server"
import Title from "@/components/MyPages/Title"
import styles from "./current.module.css"
import Link from "next/link"
import { serverClient } from "@/lib/trpc/server"
import Title from "@/components/MyPages/Title"
import styles from "./current.module.css"
export default async function CurrentBenefitsBlock() {
const benefits = await serverClient().user.benefits.current()

View File

@@ -1,9 +1,10 @@
import Link from "next/link"
import { Lock } from "react-feather"
import { serverClient } from "@/lib/trpc/server"
import { Lock } from "react-feather"
import Title from "@/components/MyPages/Title"
import Button from "@/components/TempDesignSystem/Button"
import Link from "next/link"
import styles from "./next.module.css"

View File

@@ -1,7 +1,7 @@
"use client"
import Button from "@/components/TempDesignSystem/Button"
import Image from "@/components/Image"
import Button from "@/components/TempDesignSystem/Button"
import type { User } from "@/types/user"

View File

@@ -1,7 +1,7 @@
"use client"
import Button from "@/components/TempDesignSystem/Button"
import Image from "@/components/Image"
import Button from "@/components/TempDesignSystem/Button"
import styles from "./btn.module.css"

View File

@@ -1,4 +1,5 @@
import Divider from "@/components/TempDesignSystem/Divider"
import Title from "../Title"
import styles from "./progress.module.css"

View File

@@ -1,4 +1,5 @@
import Divider from "@/components/TempDesignSystem/Divider"
import Title from "../Title"
import styles from "./totalPoints.module.css"

View File

@@ -1,9 +1,10 @@
import { serverClient } from "@/lib/trpc/server"
import Link from "@/components/TempDesignSystem/Link"
import Title from "@/components/MyPages/Title"
import StayCard from "../../Stays/StayCard"
import Link from "@/components/TempDesignSystem/Link"
import EmptyUpcomingStaysBlock from "../../Stays/EmptyUpcomingStays"
import StayCard from "../../Stays/StayCard"
import styles from "./upcoming.module.css"

View File

@@ -1,6 +1,7 @@
import Title from "@/components/MyPages/Title"
import Friend from "./Friend"
import Stats from "./Stats"
import Title from "@/components/MyPages/Title"
import styles from "./overview.module.css"

View File

@@ -1,5 +1,6 @@
import Image from "@/components/Image"
import Link from "next/link"
import Image from "@/components/Image"
import Title from "@/components/MyPages/Title"
import styles from "./shortcuts.module.css"

View File

@@ -1,4 +1,5 @@
import Title from "@/components/MyPages/Title"
import styles from "./emptyPreviousStays.module.css"
export default function EmptyPreviousStaysBlock() {

View File

@@ -1,7 +1,9 @@
import Link from "next/link"
import Title from "@/components/MyPages/Title"
import Button from "@/components/TempDesignSystem/Button"
import styles from "./emptyUpcomingStays.module.css"
import Link from "next/link"
export default function EmptyUpcomingStaysBlock() {
return (

View File

@@ -1,8 +1,9 @@
import { dt } from "@/lib/dt"
import Image from "@/components/Image"
import Title from "@/components/MyPages/Title"
import styles from "./stay.module.css"
import Title from "@/components/MyPages/Title"
import type { StayCardProps } from "@/types/components/myPages/stays/stayCard"

View File

@@ -1,4 +1,5 @@
import Button from "@/components/TempDesignSystem/Button"
import StayCard from "../StayCard"
import styles from "./stayList.module.css"