Merge remote-tracking branch 'origin/HEAD' into noah-dev
This commit is contained in:
commit
6a61ee4307
5 changed files with 607 additions and 0 deletions
|
@ -1,11 +1,15 @@
|
|||
import React, { useState } from 'react';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
|
||||
function JoinStation() {
|
||||
const [verifyMethod, setVerifyMethod] = useState('');
|
||||
const [password, setPassword] = useState('');
|
||||
const navigate = useNavigate();
|
||||
|
||||
const handleJoinStation = () => {
|
||||
console.log('Joining station with password:', password);
|
||||
// Redirect to station page after joining
|
||||
navigate('/station');
|
||||
};
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue