about summary refs log tree commit diff
path: root/app/views/shares/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shares/show.html.haml')
-rw-r--r--app/views/shares/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shares/show.html.haml b/app/views/shares/show.html.haml
index 44b6f145f..f2f5479a7 100644
--- a/app/views/shares/show.html.haml
+++ b/app/views/shares/show.html.haml
@@ -1,5 +1,5 @@
 - content_for :header_tags do
-  %script#initial-state{ type: 'application/json' }!= json_escape(@initial_state_json)
+  = render_initial_state
   = javascript_pack_tag 'share', integrity: true, crossorigin: 'anonymous'
 
 #mastodon-compose{ data: { props: Oj.dump(default_props) } }