[bugfix] Config Page: Fix get software version function that wasn't working because of typo.
This commit is contained in:
@@ -14,13 +14,13 @@ export const App = () => {
|
||||
const main_page = getCurrent();
|
||||
|
||||
const { currentIsOpenedConfigPage } = useIsOpenedConfigPage();
|
||||
const { get_software_version } = useConfig();
|
||||
const { getSoftwareVersion } = useConfig();
|
||||
|
||||
useEffect(() => {
|
||||
main_page.setDecorations(true);
|
||||
if (!hasRunRef.current) {
|
||||
asyncStartPython().then((result) => {
|
||||
get_software_version();
|
||||
getSoftwareVersion();
|
||||
}).catch((err) => {
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user