#591 - server-ssh-keys

This commit is contained in:
Saeed Vaziry
2025-05-29 21:20:33 +02:00
parent 8b6f65db97
commit 0fce4dba9c
22 changed files with 438 additions and 195 deletions

View File

@ -16,9 +16,9 @@ import { useForm } from '@inertiajs/react';
import { LoaderCircleIcon, MoreVerticalIcon } from 'lucide-react';
import FormSuccessful from '@/components/form-successful';
import { useState } from 'react';
import { SSHKey } from '@/types/ssh-key';
import { SshKey } from '@/types/ssh-key';
function Delete({ sshKey }: { sshKey: SSHKey }) {
function Delete({ sshKey }: { sshKey: SshKey }) {
const [open, setOpen] = useState(false);
const form = useForm();
@ -57,7 +57,7 @@ function Delete({ sshKey }: { sshKey: SSHKey }) {
);
}
export const columns: ColumnDef<SSHKey>[] = [
export const columns: ColumnDef<SshKey>[] = [
{
accessorKey: 'id',
header: 'ID',