Merge remote-tracking branch 'origin/main' into tobi-dev

This commit is contained in:
Tobias 2025-08-02 08:02:02 +02:00
commit e80cb2469a
18 changed files with 764 additions and 205 deletions

View file

@ -6,9 +6,10 @@ import { createStation } from "../utils/StationsCreate";
function CreateStation() {
const [name, setName] = useState("");
const [description, setDescription] = useState("");
const [joinCode, setJoinCode] = useState("");
const handleCreateStation = () => {
createStation(name, description);
setJoinCode(createStation(name, description));
};
return (
@ -49,6 +50,8 @@ function CreateStation() {
>
Create Radio Station
</button>
<p>your joinCode: {joinCode}</p>
</main>
</div>
</div>