mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-19 23:16:48 +00:00
增加多主题的页面404跳转功能
This commit is contained in:
@@ -24,26 +24,6 @@ export const MessageForm = () => {
|
||||
}))
|
||||
}
|
||||
|
||||
// useEffect(() => {
|
||||
// const form = formRef.current
|
||||
// const handleSubmit = (e) => {
|
||||
// e.preventDefault()
|
||||
// submitComments(formData).then(response => {
|
||||
// console.log('Subscription succeeded:', response)
|
||||
// // 在此处添加成功订阅后的操作
|
||||
// setSuccess(true)
|
||||
// })
|
||||
// .catch(error => {
|
||||
// console.error('Subscription failed:', error)
|
||||
// // 在此处添加订阅失败后的操作
|
||||
// })
|
||||
// }
|
||||
// form?.addEventListener('submit', handleSubmit)
|
||||
// return () => {
|
||||
// form?.removeEventListener('submit', handleSubmit)
|
||||
// }
|
||||
// }, [submitComments])
|
||||
|
||||
return <>
|
||||
<h3
|
||||
className="mb-8 text-2xl font-semibold text-dark dark:text-white md:text-[28px] md:leading-[1.42]"
|
||||
|
||||
Reference in New Issue
Block a user