refactor(multi-server): add docker cleanup cron

This commit is contained in:
Mauricio Siu
2024-09-21 22:47:19 -06:00
parent 82588f3e16
commit ff482ffe28
3 changed files with 22 additions and 4 deletions

View File

@@ -29,9 +29,7 @@ interface Props {
}
export const SetupServer = ({ serverId }: Props) => {
const utils = api.useUtils();
const [isOpen, setIsOpen] = useState(false);
const url = useUrl();
const { data: server } = api.server.one.useQuery(
{
serverId,