Enhance ConnectionPlaceholder component to handle missing device IP with localized messages; update DeviceContext to manage IP state; improve CSS for touch actions in various components; update locale files for English and Chinese with new connection prompts.
This commit is contained in:
@@ -7,5 +7,5 @@ export function getDeviceIpFromUrl(): string | null {
|
||||
}
|
||||
|
||||
export function resolveInitialDeviceIp(): string {
|
||||
return getDeviceIpFromUrl() ?? localStorage.getItem("luxsin_ip") ?? "192.168.2.30";
|
||||
return getDeviceIpFromUrl() ?? "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user