Fixed checkbox function on share modal
This commit is contained in:
parent
e4f6aed2f6
commit
82b84dd7d5
1 changed files with 2 additions and 2 deletions
|
|
@ -132,13 +132,13 @@ export default function ShareModal({
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-5 flex items-center space-x-2">
|
<div className="mt-5 flex items-center space-x-2">
|
||||||
<Checkbox
|
<Checkbox
|
||||||
id="terms"
|
id="public"
|
||||||
checked={sharePublic}
|
checked={sharePublic}
|
||||||
onCheckedChange={(event: boolean) => {
|
onCheckedChange={(event: boolean) => {
|
||||||
setSharePublic(event);
|
setSharePublic(event);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<label htmlFor="terms" className="export-modal-save-api text-sm ">
|
<label htmlFor="public" className="export-modal-save-api text-sm ">
|
||||||
Make {nameComponent} Public
|
Make {nameComponent} Public
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue