Commit 15816923 by Jonathan Reinink

Fix bug with Inertia prop validation

1 parent 4445d8fb
Showing with 1 additions and 1 deletions
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</head> </head>
<body class="font-sans leading-none text-grey-darkest antialiased"> <body class="font-sans leading-none text-grey-darkest antialiased">
<div id="app" data-component="{{ $component }}" data-props="{{ json_encode($props, JSON_FORCE_OBJECT) }}"></div> <div id="app" data-component="{{ $component }}" data-props="{{ json_encode((object) $props) }}"></div>
</body> </body>
</html> </html>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!