feat: refactor of my stay

This commit is contained in:
Simon Emanuelsson
2025-04-25 14:08:14 +02:00
committed by Simon.Emanuelsson
parent b5deb84b33
commit ec087a3d15
208 changed files with 5458 additions and 4569 deletions

View File

@@ -0,0 +1,16 @@
"use client"
import { useMyStayStore } from "@/stores/my-stay"
import Cancelled from "./Cancelled"
import NotCancelled from "./NotCancelled"
import styles from "./actions.module.css"
export default function Actions() {
const isCancelled = useMyStayStore((state) => state.bookedRoom.isCancelled)
return (
<div className={styles.actionArea}>
{isCancelled ? <Cancelled /> : <NotCancelled />}
</div>
)
}