fix: resolve type errors across the codebase
This commit is contained in:
parent
10bb4eba97
commit
12754bd0aa
6 changed files with 34 additions and 22 deletions
|
|
@ -94,7 +94,7 @@ export default function AddPreAuthKey(data: Props) {
|
|||
onChange={() => { setReusable(!reusable) }}
|
||||
/>
|
||||
</div>
|
||||
<input type="hidden" name="reusable" value={reusable} />
|
||||
<input type="hidden" name="reusable" value={reusable.toString()} />
|
||||
<div className="flex justify-between items-center mt-6">
|
||||
<div>
|
||||
<Dialog.Text className="font-semibold">
|
||||
|
|
@ -121,7 +121,7 @@ export default function AddPreAuthKey(data: Props) {
|
|||
}}
|
||||
/>
|
||||
</div>
|
||||
<input type="hidden" name="ephemeral" value={ephemeral} />
|
||||
<input type="hidden" name="ephemeral" value={ephemeral.toString()} />
|
||||
<div className="mt-6 flex justify-end gap-2 mt-6">
|
||||
<Dialog.Action
|
||||
variant="cancel"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue