fix: make the last acl tag removable on machines

This commit is contained in:
Aarnav Tale 2024-11-06 16:10:39 -05:00
parent 09e1b1f261
commit 6e55f442fd
No known key found for this signature in database
2 changed files with 8 additions and 4 deletions

View file

@ -1,11 +1,11 @@
import { PlusIcon, XIcon } from '@primer/octicons-react'
import { Form, useSubmit } from '@remix-run/react'
import { type Dispatch, type SetStateAction, useState } from 'react'
import { Dispatch, SetStateAction, useState } from 'react'
import { Button, Input } from 'react-aria-components'
import Dialog from '~/components/Dialog'
import Link from '~/components/Link'
import { type Machine } from '~/types'
import { Machine } from '~/types'
import { cn } from '~/utils/cn'
interface TagsProps {