aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/contact.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/contact.tsx')
-rw-r--r--src/pages/contact.tsx8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/pages/contact.tsx b/src/pages/contact.tsx
index d187a93..679896c 100644
--- a/src/pages/contact.tsx
+++ b/src/pages/contact.tsx
@@ -158,11 +158,9 @@ const ContactPage: NextPageWithLayout = () => {
sendMail={submitMail}
Notice={
statusMessage ? (
- <Notice
- kind={statusKind}
- message={statusMessage}
- className={styles.notice}
- />
+ <Notice className={styles.notice} kind={statusKind}>
+ {statusMessage}
+ </Notice>
) : undefined
}
/>