This commit is contained in:
Vassshhh
2025-08-25 23:41:35 +07:00
parent 53e091d3a4
commit 67cf759b31
16 changed files with 6738 additions and 4441 deletions

View File

@@ -44,10 +44,10 @@ const App = () => {
useEffect(() => {
const shopId = window.location.pathname.split('/')[1]; // Get shopId from the URL
const userId = localStorage.getItem('userId');
const user_id = localStorage.getItem('user_id');
// Connect to Socket.IO if userId is present
// if (userId) {
// Connect to Socket.IO if user_id is present
// if (user_id) {
// connectSocket(shopId, 1);
// }