fix: whitelist server action proxies

This commit is contained in:
Simon Emanuelsson
2024-06-24 12:40:55 +02:00
parent 788bfd3568
commit be47e42163
9 changed files with 66 additions and 49 deletions

View File

@@ -56,7 +56,7 @@ export default function Form({ user }: EditFormProps) {
<FormProvider {...form}>
<Header>
<hgroup>
<Title as="h4" color="peach80" level="h1">
<Title as="h4" color="red" level="h1">
{formatMessage({ id: "Edit" })}
</Title>
<Title as="h4" color="burgundy" level="h2">
@@ -66,9 +66,9 @@ export default function Form({ user }: EditFormProps) {
<div className={styles.btns}>
<Button
form={formId}
intent="primary"
intent="secondary"
size="small"
theme="primaryDark"
theme="base"
type="reset"
>
{formatMessage({ id: "Discard changes" })}
@@ -76,7 +76,7 @@ export default function Form({ user }: EditFormProps) {
<Button
disabled={!form.formState.isValid || form.formState.isSubmitting}
form={formId}
intent="secondary"
intent="primary"
size="small"
theme="base"
type="submit"