From efc9e3e3b4cb44ef733c0a3e5a2d1e21a0925a0d Mon Sep 17 00:00:00 2001 From: spectralo Date: Wed, 13 Nov 2024 19:15:49 +0100 Subject: [PATCH 1/3] This should fix it ? --- bun.lockb | Bin 261272 -> 261280 bytes src/app/harbor/shipyard/edit-ship-form.tsx | 31 +++++++++++++++++++- src/app/harbor/shipyard/new-update-form.tsx | 8 +++++ 3 files changed, 38 insertions(+), 1 deletion(-) diff --git a/bun.lockb b/bun.lockb index ac490576c1433a8bac3c310ec7c1a2adc034f6e1..7d866aebcb8d144778287d6a26cbf23092889aac 100755 GIT binary patch delta 822 zcmXw%OHWf#6ot<@<<+7Tipaw#^?`?npbLbB+CJveTZCLDd^{)M`bN4yDx9>Ky%bVFZmwe~5(yNmHUJ4`S zk#oU0@0{C%taf^^>)9gCo!6QaeXrPPTrY?2Qx_C9gY$|minY-Hw0o#AnAujeAy$fA z(~P*HHY(gvxo5vfz8P{yY zEk#|RBHn(`ZLyp!YvPN#Bi4;yutiik`U)ea71?8}<87CU*k1giSXIm(<&xM;ylf-x z((-ZrsG;Z{S9?PP=n1})>wU3(_+2{LgZSA-JXExwsKNp5#Xb@{fY0KsX2k~aD>k31 z#ea-wo+E0C>1r74&qE*6+D(U11Le^|JY8ioJC8*}=o8ALr(#F(-_Swy9AKds za1@_0MqIfdz4jl-jvwIOxG}QxyLi0mGkxm2HK)3(`t4F-W~uO`-`7o*9+doiDfE_m z4+rPGbFKwh{U3wfnq}hL5zWalUMF@mek+IO1IN{>0k^5uFSe5Lcl!@jf|;#F3t}f? zahQmcnx4?wi>ywGKPvrI}?X2VoMMQ!MIJeacBBrPtt1I;3)PkJ*k {deleting ? : } - Delete Ship + + Delete Ship + + + Are you absolutely sure? + + This action cannot be undone. + + + + + + + diff --git a/src/app/harbor/shipyard/new-update-form.tsx b/src/app/harbor/shipyard/new-update-form.tsx index 4247a9f9..f5bf4e60 100644 --- a/src/app/harbor/shipyard/new-update-form.tsx +++ b/src/app/harbor/shipyard/new-update-form.tsx @@ -2,6 +2,14 @@ import { createShipUpdate } from './ship-utils' import type { Ship } from '@/app/utils/data' import { Button } from '@/components/ui/button' +import { + Dialog, + DialogContent, + DialogDescription, + DialogHeader, + DialogTitle, + DialogTrigger, +} from '@/components/ui/dialog' import JSConfetti from 'js-confetti' import { useCallback, useEffect, useRef, useState } from 'react' import { getWakaSessions } from '@/app/utils/waka' From 66cd7e1e367f04c53861dce2de0e429361dff03f Mon Sep 17 00:00:00 2001 From: spectralo Date: Wed, 13 Nov 2024 19:55:38 +0100 Subject: [PATCH 2/3] Im too dumb :skull: --- src/app/harbor/shipyard/edit-ship-form.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/harbor/shipyard/edit-ship-form.tsx b/src/app/harbor/shipyard/edit-ship-form.tsx index bbf249bf..20b34fbc 100644 --- a/src/app/harbor/shipyard/edit-ship-form.tsx +++ b/src/app/harbor/shipyard/edit-ship-form.tsx @@ -202,7 +202,6 @@ export default function EditShipForm({ - - - - - - + + + + + + + Are you absolutely sure? + + This action cannot be undone. + + + + + + + )