fix params

This commit is contained in:
SrGooglo 2023-01-13 19:09:55 +00:00
parent 5fc5e356d0
commit c38795b8e6
5 changed files with 5 additions and 5 deletions

View File

@ -19,7 +19,7 @@ const LocationProcessRegexs = [
]
export default (props) => {
const eventId = props.match.params["id"]
const eventId = props.params["id"]
const [eventData, setEventData] = React.useState(null)

View File

@ -20,7 +20,7 @@ const TrackItem = ({ track }) => {
}
export default (props) => {
const play_id = props.match.params.play_id
const play_id = props.params.play_id
const [playlist, setPlaylist] = React.useState(null)

View File

@ -7,7 +7,7 @@ import { PostCard, CommentsCard } from "components"
import "./index.less"
export default (props) => {
const post_id = props.match.params.post_id
const post_id = props.params.post_id
const [data, setData] = React.useState(null)

View File

@ -10,7 +10,7 @@ import "./index.less"
const floatingPanelAnchors = [160, 72 + 119, window.innerHeight * 0.8]
export default (props) => {
const post_id = props.match.params.post_id
const post_id = props.params.post_id
const [data, setData] = React.useState(null)

View File

@ -4,7 +4,7 @@ import { LiveChat } from "components"
import "./index.less"
export default (props) => {
const roomId = props.match.params.id
const roomId = props.params.id
return <div className="textRoom">
<LiveChat