[Update] Config Page: Add Device tab. add mic host list.(not selectable yet.)

This commit is contained in:
Sakamoto Shiina
2024-09-02 17:04:34 +09:00
parent 6c68f3744f
commit 26691f773f
15 changed files with 140 additions and 26 deletions

View File

@@ -14,13 +14,19 @@ export const App = () => {
const main_page = getCurrent();
const { currentIsOpenedConfigPage } = useIsOpenedConfigPage();
const { getSoftwareVersion } = useConfig();
const {
getSoftwareVersion,
getMicHostList,
getSelectedMicHost,
} = useConfig();
useEffect(() => {
main_page.setDecorations(true);
if (!hasRunRef.current) {
asyncStartPython().then((result) => {
getSoftwareVersion();
getMicHostList();
getSelectedMicHost();
}).catch((err) => {
});