From eccdf95c4a546b7dbf7f4d647d18d18061f40742 Mon Sep 17 00:00:00 2001 From: mychidarko Date: Sun, 1 Dec 2024 17:49:09 +0000 Subject: [PATCH] fix: patch up leaf view issue --- src/scripts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts.php b/src/scripts.php index a83fcb6..b1a2e12 100644 --- a/src/scripts.php +++ b/src/scripts.php @@ -2,6 +2,6 @@ if (class_exists('\Leaf\Config')) { \Leaf\Config::addScript(function () { - \Leaf\App::attachView(\Leaf\BareUI::class, 'template'); + \Leaf\Config::attachView(\Leaf\BareUI::class, 'template'); }); }