(settings.server = value)}
- modelValue={settings.server}
- />
-
- {connected.value ? (
- Connected!
- ) : connectionError.value ? (
- {connectionError.value}
- ) : (
- Connecting...
- )}
-
- >
- ))
- );
- registerSettingField(
- jsx(() => (
- <>
- (
-
- Nickname
-
-
- ))}
- onUpdate:modelValue={value => (settings.nickname = value)}
- modelValue={settings.nickname}
- />
- >
- ))
- );
});
function setupSocket(socket: Socket) {