forked from CSGOWTF/csgowtf
refactor to utils + bug-fixes
This commit is contained in:
9
src/utils/GoTo.js
Normal file
9
src/utils/GoTo.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import router from "../router";
|
||||
|
||||
export const GoToMatch = (id) => {
|
||||
router.push(`/match/${id}`)
|
||||
}
|
||||
|
||||
export const GoToPlayer = (id) => {
|
||||
router.push(`/player/${id}`)
|
||||
}
|
||||
Reference in New Issue
Block a user