From 40e6483710e889e624150057ca479f65a191a19c Mon Sep 17 00:00:00 2001 From: mychidarko Date: Sun, 1 Dec 2024 17:40:40 +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 de47625..a83fcb6 100644 --- a/src/scripts.php +++ b/src/scripts.php @@ -2,6 +2,6 @@ if (class_exists('\Leaf\Config')) { \Leaf\Config::addScript(function () { - \Leaf\View::attach(\Leaf\BareUI::class, 'template'); + \Leaf\App::attachView(\Leaf\BareUI::class, 'template'); }); }