"use client"

import { useMyStayTotalPriceStore } from "@/stores/my-stay/myStayTotalPrice"

import Price, { type Variant } from "../../Price"

export default function TotalPrice({ variant }: { variant: Variant }) {
  const { totalPrice } = useMyStayTotalPriceStore()

  return <Price price={totalPrice} variant={variant} />
}
