Files
csgowtf/src/utils/GoTo.js
cnachtigall1991 b1a9448eb6 even more refactoring
2021-10-15 04:55:46 +02:00

14 lines
273 B
JavaScript

import router from "../router";
export const GoToMatch = (id) => {
router.push({name: 'Match', params: {match_id: id}})
}
export const GoToPlayer = (id) => {
router.push({name: 'Player', params: {id: id}})
}
export const GoToLink = (link) => {
router.push(link)
}