Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
potts99 committed Mar 21, 2024
1 parent 091b2e6 commit bab9eee
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions apps/client/pages/ticket/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -362,27 +362,6 @@ export default function Ticket() {
</DropdownMenu.Content>
</DropdownMenu.Root>
)}
{edit && (
<Button
className="hover:cursor-pointer"
variant="outline"
onClick={() => {
update();
setEdit(!edit);
}}
>
save
</Button>
)}
{user.isAdmin && (
<button
type="button"
onClick={() => hide(!data.ticket.hidden)}
className="inline-flex justify-center items-center gap-x-1.5 rounded-md bg-white px-5 py-2 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50"
>
{data.ticket.hidden ? "Show Global" : "Hide Ticket"}
</button>
)}
</div>
</div>
<aside className="mt-4 xl:hidden">
Expand Down

0 comments on commit bab9eee

Please sign in to comment.