Skip to content

Commit

Permalink
Fix bug with Inertia prop validation
Browse files Browse the repository at this point in the history
  • Loading branch information
reinink committed Apr 5, 2019
1 parent 4445d8f commit 1581692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 1581692

Please sign in to comment.