diff --git a/components/discussion-form.js b/components/discussion-form.js
index 673687aa3..86fcf81cf 100644
--- a/components/discussion-form.js
+++ b/components/discussion-form.js
@@ -130,7 +130,7 @@ export function DiscussionForm({
await router.push(prefix + '/recent')
}
}, [upsertDiscussion, router]
- );
+ )
const [getRelated, { data: relatedData }] = useLazyQuery(gql`
${ITEM_FIELDS}
@@ -202,9 +202,9 @@ export function DiscussionForm({
)
: }
+ baseFee={1} parentId={null} text={buttonText}
+ ChildButton={SubmitButton} variant='secondary'
+ />}
{!item &&
0 ? '' : 'invisible'}`}>
@@ -216,7 +216,7 @@ export function DiscussionForm({
))}
- }
+ }
/>
}
diff --git a/components/toast.js b/components/toast.js
index 50c9587e4..8a4b96afb 100644
--- a/components/toast.js
+++ b/components/toast.js
@@ -5,7 +5,6 @@ import Toast from 'react-bootstrap/Toast'
import ToastBody from 'react-bootstrap/ToastBody'
import ToastContainer from 'react-bootstrap/ToastContainer'
import styles from './toast.module.css'
-import { identity } from 'mathjs'
const ToastContext = createContext(() => {})