add snippets to create resource

This commit is contained in:
miloschwartz
2025-04-28 21:45:43 -04:00
parent 599d0a52bf
commit 18e6f16ce7
5 changed files with 634 additions and 496 deletions

View File

@@ -57,9 +57,7 @@ import {
import { CheckIcon, ChevronsUpDown } from "lucide-react";
import { Checkbox } from "@app/components/ui/checkbox";
import { GenerateAccessTokenResponse } from "@server/routers/accessToken";
import {
constructShareLink
} from "@app/lib/shareLinks";
import { constructShareLink } from "@app/lib/shareLinks";
import { ShareLinkRow } from "./ShareLinksTable";
import { QRCodeCanvas, QRCodeSVG } from "qrcode.react";
import {
@@ -528,11 +526,9 @@ export default function CreateShareLinkForm({
accessTokenId
}
token={accessToken}
resourceUrl={
form.getValues(
"resourceUrl"
)
}
resourceUrl={form.getValues(
"resourceUrl"
)}
/>
</div>
</div>