import React, { useState } from 'react'; function CreateStation() { const [joinMethod, setJoinMethod] = useState(''); const [password, setPassword] = useState(''); const handleCreateStation = () => { // Handle station creation logic here console.log('Creating station with password:', password); }; return (

Create a Station on Serena

How should people be able to join your station?

{joinMethod === 'password' && (
setPassword(e.target.value)} placeholder="Enter station password" />
)}
); } export default CreateStation;