Fix bug with Inertia prop validation

This commit is contained in:
Jonathan Reinink 2019-04-05 07:09:36 -04:00
parent 4445d8fbf5
commit 1581692352
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
</head>
<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>
</html>