aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui/Post.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/ui/Post.js')
-rw-r--r--vnext/src/ui/Post.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/ui/Post.js b/vnext/src/ui/Post.js
index 9795092c..fbd55675 100644
--- a/vnext/src/ui/Post.js
+++ b/vnext/src/ui/Post.js
@@ -17,7 +17,7 @@ export default function Post() {
const location = useLocation();
const navigate = useNavigate();
const [visitor] = useVisitor();
- let draftMessage = (location.state || {}).draft || {};
+ let draftMessage = (location.state || {}).data || {};
let [draft, setDraft] = useState(draftMessage.body);
let params = qs.parse(window.location.search.substring(1));
let postMessage = (template) => {