aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/settings/PreferencesPage.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/settings/PreferencesPage.jsx b/modern/src/settings/PreferencesPage.jsx
index a05924a9..b83e7095 100644
--- a/modern/src/settings/PreferencesPage.jsx
+++ b/modern/src/settings/PreferencesPage.jsx
@@ -65,7 +65,7 @@ const PreferencesPage = () => {
const user = useSelector((state) => state.session.user);
const [attributes, setAttributes] = useState(user.attributes);
- const versionApp = process.env.REACT_APP_VERSION.slice(0, -2);
+ const versionApp = import.meta.env.VITE_APP_VERSION.slice(0, -2);
const versionServer = useSelector((state) => state.session.server.version);
const socket = useSelector((state) => state.session.socket);