aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Post.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-11-11 15:29:45 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commit9f1dd954d7023c6a121659d1299fb83fc117a66d (patch)
tree997663acf0ce16715728371bdf7ec4a139fcc139 /vnext/src/components/Post.js
parent5f13cdc450dadd5708c8311880ebe9d451ae8989 (diff)
Fix qs.parse calls
Diffstat (limited to 'vnext/src/components/Post.js')
-rw-r--r--vnext/src/components/Post.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/components/Post.js b/vnext/src/components/Post.js
index 555ad9af..ce64018a 100644
--- a/vnext/src/components/Post.js
+++ b/vnext/src/components/Post.js
@@ -12,7 +12,7 @@ import { post } from '../api';
export default class Post extends React.Component {
constructor(props) {
super(props);
- let params = qs.parse(window.location.search);
+ let params = qs.parse(window.location.search.substring(1));
this.state = {
attach: '',
body: params.body || ''