diff --git a/src/client/src/teameditor.js b/src/client/src/teameditor.js
index 2e9b09b..f6daae6 100644
--- a/src/client/src/teameditor.js
+++ b/src/client/src/teameditor.js
@@ -29,18 +29,19 @@ function TeamChanger() {
variant="filled"
label="Members:"
/>
+
+
>
);
}
-
+var teams = {
+ "team 1": ["tom", "eric", "gustav"],
+ "team 2": ["emma", "mari", "ida"],
+ "team 3": ["ola", "ole", "ost"],
+ "team 4": ["christine", "kristine", "kristhine"],
+};
function TeamList() {
- let teams = {
- "team 1": ["tom", "eric", "gustav"],
- "team 2": ["emma", "mari", "ida"],
- "team 3": ["ola", "ole", "ost"],
- "team 4": ["christine", "kristine", "kristhine"],
- };
const [teamInput, setteamInput] = React.useState("");
const [membersInput, setmembersInput] = React.useState("");
React.useEffect(() => {
@@ -49,6 +50,7 @@ function TeamList() {
});
return (