Renames forms to make clear if they are new or edit

This commit is contained in:
2025-06-13 11:30:21 -07:00
parent ebe2e28cdb
commit 9c607ba41a
9 changed files with 26 additions and 23 deletions

View File

@@ -7,7 +7,7 @@ import { pb } from "@/lib/pocketbase";
/**
* Renders a form to add a new secret. Calls onCreate with the new secret document.
*/
export const SecretForm = ({
export const NewSecretForm = ({
campaign,
onCreate,
}: {