forked from CSGOWTF/csgowtf
even more refactoring ✨
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import router from "../router";
|
||||
|
||||
export const GoToMatch = (id) => {
|
||||
router.push({name: 'Match', params: {match_id: id}})
|
||||
router.push({name: 'Match', params: {match_id: id}})
|
||||
}
|
||||
|
||||
export const GoToPlayer = (id) => {
|
||||
router.push({name: 'Player', params: {id: id}})
|
||||
router.push({name: 'Player', params: {id: id}})
|
||||
}
|
||||
|
||||
export const GoToLink = (link) => {
|
||||
router.push(`${link}`)
|
||||
router.push(link)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user