Skip to content

Commit

Permalink
Cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinKelsay committed Sep 26, 2023
1 parent 53d1c24 commit 9001223
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions components/discussion-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export function DiscussionForm({
await router.push(prefix + '/recent')
}
}, [upsertDiscussion, router]
);
)

const [getRelated, { data: relatedData }] = useLazyQuery(gql`
${ITEM_FIELDS}
Expand Down Expand Up @@ -202,9 +202,9 @@ export function DiscussionForm({
</div>
</div>)
: <FeeButton
baseFee={1} parentId={null} text={buttonText}
ChildButton={SubmitButton} variant='secondary'
/>}
baseFee={1} parentId={null} text={buttonText}
ChildButton={SubmitButton} variant='secondary'
/>}
</div>
{!item &&
<div className={`mt-3 ${related.length > 0 ? '' : 'invisible'}`}>
Expand All @@ -216,7 +216,7 @@ export function DiscussionForm({
<Item item={item} key={item.id} />
))}
</div>
}
}
/>
</div>}
</Form>
Expand Down
1 change: 0 additions & 1 deletion components/toast.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {})

Expand Down

0 comments on commit 9001223

Please sign in to comment.