[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 main_page = getCurrent();
|
||||||
|
|
||||||
const { currentIsOpenedConfigPage } = useIsOpenedConfigPage();
|
const { currentIsOpenedConfigPage } = useIsOpenedConfigPage();
|
||||||
const { get_software_version } = useConfig();
|
const { getSoftwareVersion } = useConfig();
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
main_page.setDecorations(true);
|
main_page.setDecorations(true);
|
||||||
if (!hasRunRef.current) {
|
if (!hasRunRef.current) {
|
||||||
asyncStartPython().then((result) => {
|
asyncStartPython().then((result) => {
|
||||||
get_software_version();
|
getSoftwareVersion();
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user