Commit 4f1bad24 authored by thibaut-felten's avatar thibaut-felten
parents 501c6a3f b4f896b4
...@@ -22,11 +22,11 @@ const user = require("../model/user.js") ...@@ -22,11 +22,11 @@ const user = require("../model/user.js")
export default { export default {
name: 'LoginNavbar', name: 'LoginNavbar',
data(){ // the data, declared as function data(){
return{ // we return all the properties that should be react on. return{
user user
} }
}, }
} }
</script> </script>
......
...@@ -55,7 +55,6 @@ export default { ...@@ -55,7 +55,6 @@ export default {
}, },
findGame: async function(){ findGame: async function(){
console.log(user.id)
const res = await fetch( const res = await fetch(
sessionStorage.getItem('APIURL') + `/online/${user.id}`, sessionStorage.getItem('APIURL') + `/online/${user.id}`,
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment