Fix NodeModal authType typing for type-check

This commit is contained in:
rcourtman 2025-11-20 10:07:22 +00:00
parent bdcde70b81
commit 64c654b330

View file

@ -284,7 +284,7 @@ export const NodeModal: Component<NodeModalProps> = (props) => {
})
: undefined;
const formSource = {
const formSource: ReturnType<typeof getCleanFormData> = {
name: node.name || '',
host: node.host || '',
guestURL: ('guestURL' in node ? node.guestURL : '') || '',