Skip to content

Commit

Permalink
dev: add dev badge to test toggle on Jam page
Browse files Browse the repository at this point in the history
  • Loading branch information
theborakompanioni committed Nov 26, 2023
1 parent e9275a1 commit bd3c589
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/Jam.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,6 @@ export default function Jam({ wallet }: JamProps) {
setFieldValue,
validateForm,
isValid,
dirty,
touched,
errors,
}) => (
Expand All @@ -474,7 +473,12 @@ export default function Jam({ wallet }: JamProps) {
{isDebugFeatureEnabled('insecureScheduleTesting') && (
<rb.Form.Group className="mb-4" controlId="offertype">
<ToggleSwitch
label={'Use insecure testing settings'}
label={
<>
Use insecure testing settings
<span className="ms-2 badge rounded-pill bg-warning">dev</span>
</>
}
subtitle={
"This is completely insecure but makes testing the schedule much faster. This option won't be available in production."
}
Expand Down

0 comments on commit bd3c589

Please sign in to comment.