mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
fix goToAccount
This commit is contained in:
parent
8b7d4b7443
commit
0c2ecb5def
@ -225,7 +225,7 @@ class App extends React.Component {
|
||||
return window.app.setLocation(config.app.mainPath)
|
||||
},
|
||||
goToAccount: (username) => {
|
||||
return window.app.setLocation(`/account`, { username })
|
||||
return window.app.setLocation(`/@${username}`)
|
||||
},
|
||||
isAppCapacitor: () => window.navigator.userAgent === "capacitor",
|
||||
setStatusBarStyleDark: async () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user