mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-10 15:57:53 +00:00
switch to a new domain name
This commit is contained in:
parent
2aafdec40b
commit
86b57dcbd0
13 changed files with 28 additions and 28 deletions
|
|
@ -14,7 +14,7 @@ import EditSystemPrivacy from "./Edit/EditSystemPrivacy.js";
|
|||
|
||||
export default function System(props) {
|
||||
// match the url, if there's a member ID there, don't render this component at all
|
||||
const match = useRouteMatch("/pk-webs/dash/:memberID");
|
||||
const match = useRouteMatch("/dash/:memberID");
|
||||
|
||||
// get the user from the localstorage
|
||||
const [user, setUser] = useState(JSON.parse(localStorage.getItem("user")));
|
||||
|
|
@ -230,7 +230,7 @@ export default function System(props) {
|
|||
<BS.Button
|
||||
variant="primary"
|
||||
className="float-right"
|
||||
onClick={() => history.push(`/pk-webs/profile/${user.id}`)}
|
||||
onClick={() => history.push(`/profile/${user.id}`)}
|
||||
>
|
||||
Profile
|
||||
</BS.Button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue