support user indexation in url

This commit is contained in:
srgooglo 2022-06-01 20:55:02 +02:00
parent 3aeebbcead
commit a366565d7c
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,8 @@
import React from "react"
import Account from "../account"
export default (props) => {
const username = props.match.params.username
return <Account username={username} />
}

View File

@ -0,0 +1,8 @@
import React from "react"
import Account from "."
export default (props) => {
const username = props.match.params.username
return <Account username={username} />
}

View File

@ -0,0 +1,5 @@
import React from "react"
export default (props) => {
return window.app.setLocation("/main")
}