Fix NodeModal authType typing for type-check
This commit is contained in:
parent
bdcde70b81
commit
64c654b330
1 changed files with 1 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ export const NodeModal: Component<NodeModalProps> = (props) => {
|
||||||
})
|
})
|
||||||
: undefined;
|
: undefined;
|
||||||
|
|
||||||
const formSource = {
|
const formSource: ReturnType<typeof getCleanFormData> = {
|
||||||
name: node.name || '',
|
name: node.name || '',
|
||||||
host: node.host || '',
|
host: node.host || '',
|
||||||
guestURL: ('guestURL' in node ? node.guestURL : '') || '',
|
guestURL: ('guestURL' in node ? node.guestURL : '') || '',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue