[bugfix] Config Page: Fix get software version function that wasn't working because of typo.

This commit is contained in:
Sakamoto Shiina
2024-09-02 12:36:37 +09:00
parent 45c6562717
commit 6c68f3744f

View File

@@ -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) => {
});