mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2026-01-24 12:03:17 +00:00
🛠️ Refactor Blade views for Livewire component consistency, streamline login view, and improve key usage across components
- Replaced `state` and `computed` with `Livewire\Component` implementations in `language/selector.blade.php` for enhanced maintainability. - Adjusted `login.blade.php` syntax for dynamic href generation and removed commented-out sign-up link. - Added unique `wire:key` attributes to iterable elements for enhanced performance and reactivity. - Simplified controller routing and corrected indentation in `web.php`, improving clarity.
This commit is contained in:
@@ -44,7 +44,7 @@ new class extends Component {
|
||||
<flux:select.search class="px-4" placeholder="{{ __('Suche Zeitzone...') }}"/>
|
||||
</x-slot>
|
||||
@foreach($timezones as $timezone)
|
||||
<flux:select.option value="{{ $timezone }}">
|
||||
<flux:select.option wire:key="timezone-{{ $timezone }}" value="{{ $timezone }}">
|
||||
{{ $timezone }}
|
||||
</flux:select.option>
|
||||
@endforeach
|
||||
|
||||
Reference in New Issue
Block a user