Fix bug with Inertia prop validation
This commit is contained in:
parent
4445d8fbf5
commit
1581692352
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue