diff --git a/app/Http/Livewire/Help.php b/app/Http/Livewire/Help.php
index e0ce53d63..7cb2facef 100644
--- a/app/Http/Livewire/Help.php
+++ b/app/Http/Livewire/Help.php
@@ -4,8 +4,8 @@
use DanHarrin\LivewireRateLimiting\WithRateLimiting;
use Illuminate\Notifications\Messages\MailMessage;
+use Illuminate\Support\Facades\Route;
use Livewire\Component;
-use Route;
class Help extends Component
{
@@ -28,7 +28,7 @@ public function mount()
public function submit()
{
try {
- $this->rateLimit(1, 60);
+ $this->rateLimit(3, 60);
$this->validate();
$subscriptionType = auth()->user()?->subscription?->type() ?? 'Free';
$debug = "Route: {$this->path}";
@@ -42,7 +42,7 @@ public function submit()
);
$mail->subject("[HELP - {$subscriptionType}]: {$this->subject}");
send_user_an_email($mail, auth()->user()?->email, 'hi@coollabs.io');
- $this->emit('success', 'Your message has been sent successfully. We will get in touch with you as soon as possible.');
+ $this->emit('success', 'Your message has been sent successfully.
We will get in touch with you as soon as possible.');
} catch (\Throwable $e) {
return handleError($e, $this);
}
diff --git a/resources/views/components/navbar-subscription.blade.php b/resources/views/components/navbar-subscription.blade.php
index 3770a2d31..83c41bc2c 100644
--- a/resources/views/components/navbar-subscription.blade.php
+++ b/resources/views/components/navbar-subscription.blade.php
@@ -10,16 +10,12 @@
-