Skip to content

Commit 32a6c6d

Browse files
Cleanup
1 parent 07e5951 commit 32a6c6d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"description": "Kirby Snippet Controller",
44
"license": "MIT",
55
"type": "kirby-plugin",
6-
"version": "1.0.0",
76
"authors": [
87
{
98
"name": "Lukas Kleinschmidt",

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
'snippet' => function (App $kirby, $name, array $data = [], bool $slots = false) {
1313
$data = snippet_controller($name, $data);
1414

15-
return $kirby->core()->components()['snippet'](
15+
return $kirby->nativeComponent('snippet')(
1616
$kirby,
1717
$name,
1818
$data,

0 commit comments

Comments
 (0)