Skip to content

Commit

Permalink
fixes code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Nov 24, 2023
1 parent cf714ef commit d24c788
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,11 +261,11 @@ SuperTokens.init({
fontSize: "14px",
width: "100%",
marginRight: "25px",
padding: "1px 0 1px 10px";
padding: "1px 0 1px 10px"
}}
value={value}
name={name}
onChange={(e) => onChange(e.target.value)}>
onChange={(e) => onChange!(e.target.value)}>
<option value="" disabled hidden>
Select an option
</option>
Expand All @@ -291,7 +291,7 @@ SuperTokens.init({
justifyContent: "left",
marginBottom: " -12px",
}}>
<input name={name} type="checkbox" onChange={(e) => onChange(e.target.checked.toString())}></input>
<input name={name} type="checkbox" onChange={(e) => onChange!(e.target.checked.toString())}></input>
<span style={{ marginLeft: 5 }}>
I agree to the{" "}
<a href="https://supertokens.com/legal/terms-and-conditions" data-supertokens="link">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,11 +261,11 @@ SuperTokens.init({
fontSize: "14px",
width: "100%",
marginRight: "25px",
padding: "1px 0 1px 10px";
padding: "1px 0 1px 10px"
}}
value={value}
name={name}
onChange={(e) => onChange(e.target.value)}>
onChange={(e) => onChange!(e.target.value)}>
<option value="" disabled hidden>
Select an option
</option>
Expand All @@ -291,7 +291,7 @@ SuperTokens.init({
justifyContent: "left",
marginBottom: " -12px",
}}>
<input name={name} type="checkbox" onChange={(e) => onChange(e.target.checked.toString())}></input>
<input name={name} type="checkbox" onChange={(e) => onChange!(e.target.checked.toString())}></input>
<span style={{ marginLeft: 5 }}>
I agree to the{" "}
<a href="https://supertokens.com/legal/terms-and-conditions" data-supertokens="link">
Expand Down

0 comments on commit d24c788

Please sign in to comment.