♻️ (route) simpler route
This commit is contained in:
@@ -8,8 +8,13 @@ const routes: RouteConfig[] = [
|
||||
{
|
||||
path: '/',
|
||||
name: 'Home',
|
||||
component: Home
|
||||
},
|
||||
{
|
||||
path: '/play',
|
||||
name: 'Home',
|
||||
component: Home,
|
||||
props: (route) => ({ play: route.query.play })
|
||||
props: { play: true }
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ module.exports = {
|
||||
name: 'Start a session',
|
||||
short_name: 'Start',
|
||||
description: 'Start a pair programming session',
|
||||
url: '/?play=true'
|
||||
url: '/play'
|
||||
}
|
||||
],
|
||||
icons: [
|
||||
|
||||
Reference in New Issue
Block a user