feat: Enhance vehicle simulation with draggable path points and interactive controls

This commit is contained in:
2025-07-05 11:16:31 +05:30
parent 3f59f5d2dd
commit 5a0978560c
11 changed files with 996 additions and 134 deletions

View File

@@ -114,8 +114,9 @@ const Project: React.FC = () => {
setActiveModule("builder");
if (email) {
const token = localStorage.getItem("token");
const refreshToken = localStorage.getItem("refreshToken")
if (token) {
useSocketStore.getState().initializeSocket(email, organization, token);
useSocketStore.getState().initializeSocket(email, organization, token, refreshToken);
}
if (organization && userName) {
setOrganization(organization);