diff --git a/src/frontend/src/components/system/PageContainer.jsx b/src/frontend/src/components/system/PageContainer.jsx index ba723a5..9dcf8bd 100644 --- a/src/frontend/src/components/system/PageContainer.jsx +++ b/src/frontend/src/components/system/PageContainer.jsx @@ -8,7 +8,7 @@ import { Box } from '@chakra-ui/react'; */ const PageContainer = ({ children }) => { return ( - + {children} ); diff --git a/src/frontend/src/pages/ScanPage.jsx b/src/frontend/src/pages/ScanPage.jsx index 0f78d56..ef6f82b 100644 --- a/src/frontend/src/pages/ScanPage.jsx +++ b/src/frontend/src/pages/ScanPage.jsx @@ -52,6 +52,7 @@ const ScanPage = () => { })), }); setNetworkAdapters(networkCollection); + setLocalIp(config.backendUrl); }); }, []); @@ -186,25 +187,29 @@ const ScanPage = () => { {inputMode ? ( - setSubnet(e.target.value)} - width={'300px'} - bg={'whiteAlpha.200'} - /> + + setSubnet(e.target.value)} + width={'300px'} + bg={'whiteAlpha.200'} + /> + ) : null} - +