<?php

namespace App\Http\Livewire;

use Livewire\Component;

class Notification extends Component
{
    public function dehydrate()
    {
        // Clear the session key after the component is rendered
        session()->forget('notification');
    }


    public function render()
    {
        return view('livewire.notification');
    }
}
