diff options
Diffstat (limited to 'vnext/src/components/Thread.js')
-rw-r--r-- | vnext/src/components/Thread.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js index 22972752..ba3fcfa9 100644 --- a/vnext/src/components/Thread.js +++ b/vnext/src/components/Thread.js @@ -80,7 +80,7 @@ Comment.propTypes = { }; export default function Thread(props) { - const [message, setMessage] = useState(props.location.state || {}); + const [message, setMessage] = useState(props.location.state.msg || {}); const [replies, setReplies] = useState([]); const [loading, setLoading] = useState(false); const [active, setActive] = useState(0); |