From 9001223f5742d2d9f9c10065d0102e25d57c28ad Mon Sep 17 00:00:00 2001 From: austinkelsay Date: Tue, 26 Sep 2023 09:50:32 -0500 Subject: [PATCH] Cleaning up --- components/discussion-form.js | 10 +++++----- components/toast.js | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) 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(() => {})