diff --git a/app/Http/Livewire/Common/Notifications/Recurring.php b/app/Http/Livewire/Common/Notifications/Recurring.php index 9017eba60..297c3c289 100644 --- a/app/Http/Livewire/Common/Notifications/Recurring.php +++ b/app/Http/Livewire/Common/Notifications/Recurring.php @@ -44,7 +44,7 @@ class Recurring extends Component { $limit = 5; - $notifications = getNotifications($limit); + $notifications = $this->getNotifications($limit); return view('livewire.common.notifications.recurring', compact('notifications')); } diff --git a/app/Http/Livewire/Common/Notifications/Reminder.php b/app/Http/Livewire/Common/Notifications/Reminder.php index cb3507308..66c2f4f36 100644 --- a/app/Http/Livewire/Common/Notifications/Reminder.php +++ b/app/Http/Livewire/Common/Notifications/Reminder.php @@ -44,7 +44,7 @@ class Reminder extends Component { $limit = 5; - $notifications = getNotifications($limit); + $notifications = $this->getNotifications($limit); return view('livewire.common.notifications.reminder', compact('notifications')); }