From dd0c790a8eb136e05b8acf53bbbca12a6ed69084 Mon Sep 17 00:00:00 2001 From: Mohana Vamsi Date: Sun, 30 Mar 2025 03:59:23 +0530 Subject: [PATCH 1/7] Update package.json --- client/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/package.json b/client/package.json index 402e547..b2bb37f 100644 --- a/client/package.json +++ b/client/package.json @@ -21,7 +21,8 @@ "react-router": "^6.26.2", "react-router-dom": "^6.26.2", "react-toastify": "^10.0.6", - "socket.io-client": "^4.8.0" + "socket.io-client": "^4.8.0", + "react-icons":"^5.5.0" }, "devDependencies": { "@eslint/js": "^9.9.0", From 9581af4d9f9b6a65dc2d072ab9eb9be046dd4f1e Mon Sep 17 00:00:00 2001 From: Mohana Vamsi Date: Sun, 30 Mar 2025 04:11:50 +0530 Subject: [PATCH 2/7] Update Meeting.jsx --- client/src/Components/Meeting.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/Components/Meeting.jsx b/client/src/Components/Meeting.jsx index 8e0b607..cd5f603 100644 --- a/client/src/Components/Meeting.jsx +++ b/client/src/Components/Meeting.jsx @@ -9,7 +9,7 @@ const socket = io("https://hospo.onrender.com"); function Meeting() { const [stream, setStream] = useState(); const [peerId, setPeerId] = useState(''); - const { id } = useParams(); + const { userid } = useParams(); const peerInstance = useRef(null); const localVideoRef = useRef(); const remoteVideoRef = useRef(); From c7bedcff5f7a6f90f940342837a5e37f209e50ac Mon Sep 17 00:00:00 2001 From: Mohana Vamsi Date: Sun, 30 Mar 2025 04:12:20 +0530 Subject: [PATCH 3/7] Update Meeting.jsx --- client/src/Components/Meeting.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/Components/Meeting.jsx b/client/src/Components/Meeting.jsx index cd5f603..c5860db 100644 --- a/client/src/Components/Meeting.jsx +++ b/client/src/Components/Meeting.jsx @@ -19,7 +19,7 @@ function Meeting() { const [isConnecting, setIsConnecting] = useState(false); const [showControls, setShowControls] = useState(true); const nav = useNavigate(); - const name = id; + const name = userid; // Hide controls after inactivity useEffect(() => { From 6d310be4a17d70c01e5afc86496ecff3c9cc1374 Mon Sep 17 00:00:00 2001 From: Mohana Vamsi Date: Mon, 12 May 2025 15:20:23 +0530 Subject: [PATCH 4/7] Update App.jsx --- client/src/App.jsx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/client/src/App.jsx b/client/src/App.jsx index 1731a47..718abd3 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -17,16 +17,6 @@ import "react-toastify/dist/ReactToastify.css"; const App = () => { localStorage.setItem("delivery", false); - const isAuthenticated = !!localStorage.getItem("user"); - - const ProtectedRoute = ({element}) => { - if (!isAuthenticated) { - toast.warning("Please log in to access this page!", { position: "top-right" }); - return ; - } - return element; - }; - return ( <> @@ -46,4 +36,4 @@ const App = () => { ); }; -export default App; \ No newline at end of file +export default App; From b95561e8b1be609288e0b2b98c8976f10e70fe8d Mon Sep 17 00:00:00 2001 From: Mohana Vamsi Date: Mon, 12 May 2025 15:20:38 +0530 Subject: [PATCH 5/7] Update App.jsx --- client/src/App.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/client/src/App.jsx b/client/src/App.jsx index 718abd3..80d5195 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -29,7 +29,6 @@ const App = () => { } />} /> } />} /> } /> - } /> } /> From 0ebd1d3895dd63e0b6eaa43fab3e840c9eaa6f65 Mon Sep 17 00:00:00 2001 From: Mohana Vamsi Date: Mon, 12 May 2025 15:22:48 +0530 Subject: [PATCH 6/7] Update App.jsx --- client/src/App.jsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/client/src/App.jsx b/client/src/App.jsx index 80d5195..d745abe 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -22,12 +22,12 @@ const App = () => { } /> - } />} /> - } />} /> - } />} /> - } />} /> - } />} /> - } />} /> + } /> + } /> + } /> + } /> + } /> + } /> } /> } /> From 4a4ff7cf23378427e4154ae47d7df3be5b08dc6a Mon Sep 17 00:00:00 2001 From: Mohana Vamsi Date: Tue, 20 May 2025 16:21:46 +0530 Subject: [PATCH 7/7] Create README.md --- README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..bdbbc30 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +this is reame