mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-04-19 20:56:52 +00:00
fix: remove unused type prop from BlockDeviceDialog component
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m16s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m16s
This commit is contained in:
parent
6365a701ba
commit
de1e842145
@ -1,11 +1,9 @@
|
||||
import BlockDeviceDialog from "@/components/block-device-dialog";
|
||||
import ClientErrorMessage from "@/components/client-error-message";
|
||||
import Search from "@/components/search";
|
||||
import { Badge } from "@/components/ui/badge";
|
||||
import { getDevice } from "@/queries/devices";
|
||||
import { tryCatch } from "@/utils/tryCatch";
|
||||
import { redirect } from "next/navigation";
|
||||
import React from "react";
|
||||
|
||||
export default async function DeviceDetails({
|
||||
params,
|
||||
|
@ -30,7 +30,6 @@ const validationSchema = z.object({
|
||||
|
||||
export default function BlockDeviceDialog({
|
||||
device,
|
||||
type,
|
||||
admin,
|
||||
}: { device: Device; type: "block" | "unblock"; admin?: boolean }) {
|
||||
const [disabled, setDisabled] = useState(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user