
<x-layouts.admin>
    @if (session()->has('message'))
        <x-wireui:notifications />
        <script>
            window.$wireui.notify({
                title: '提示',
                description: '{{ session('message') }}',
                icon: 'success'
            });
        </script>
    @endif

    {{-- 單一 Livewire 元件，內含資料表與 Modal --}}
    <livewire:admin.user-table />
    <livewire:admin.user-form />
</x-layouts.admin>