Skip to content

Commit

Permalink
Merge pull request #21 from ifspcbt-devspace/develop
Browse files Browse the repository at this point in the history
fix: temporarily changing the static name of the ticket in the TicketUI
  • Loading branch information
oproprioleonardo committed Sep 28, 2024
2 parents f686e71 + f586ce3 commit f7cd87e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/components/ticket/Ticket.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
"use client";

import { Ticket, TicketStatus } from "@/models";
import {Ticket} from "@/models";
import "./style.css";
import { consumeTicket, getTicket } from "@/server-actions/ticket.action";
import { getUser } from "@/server-actions/user.action";
import { toastConfig } from "@/utils";
import { Button } from "@nextui-org/react";
import { useRouter } from "next/navigation";
import { useEffect, useState } from "react";
import { toast } from "react-toastify";
import {consumeTicket, getTicket} from "@/server-actions/ticket.action";
import {getUser} from "@/server-actions/user.action";
import {toastConfig} from "@/utils";
import {Button} from "@nextui-org/react";
import {useRouter} from "next/navigation";
import {useEffect, useState} from "react";
import {toast} from "react-toastify";

export default function TicketUI({ id }: { id: string }) {
export default function TicketUI({id}: { id: string }) {
const [ticket, setTicket] = useState<Ticket>();
const [user, setUser] = useState<any>();
const [loading, setLoading] = useState(false);
Expand Down Expand Up @@ -61,7 +61,7 @@ export default function TicketUI({ id }: { id: string }) {
<div className="hidden ticket-content-wrapper md:flex flex-col justify-between">
<div className="text-center">
<span className="font-bold text-3xl">
TICKET - FESTA JUNINA (27/07)
TICKET - IFETÃO (Finais) (28/09)
</span>
<p className="text-base">
INSTITUTO FEDERAL DE SÃO PAULO - CUBATÃO
Expand Down Expand Up @@ -91,7 +91,7 @@ export default function TicketUI({ id }: { id: string }) {
<div className="md:hidden ticket-content-wrapper-vertical flex flex-col justify-between">
<div className="text-center">
<span className="font-bold text-3xl">
TICKET - FESTA JUNINA (27/07)
TICKET - IFETÃO (Finais) (28/09)
</span>
<p className="text-base">
INSTITUTO FEDERAL DE SÃO PAULO - CUBATÃO
Expand Down

0 comments on commit f7cd87e

Please sign in to comment.