Commit b4f896b4 authored by Robin Borgogno's avatar Robin Borgogno

orgznisation

parent 1a585a58
......@@ -22,11 +22,11 @@ const user = require("../model/user.js")
export default {
name: 'LoginNavbar',
data(){ // the data, declared as function
return{ // we return all the properties that should be react on.
data(){
return{
user
}
},
}
}
</script>
......
......@@ -55,7 +55,6 @@ export default {
},
findGame: async function(){
console.log(user.id)
const res = await fetch(
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