404 after dispatch livewire event
Hello Community.
I created a custom page for the post resource, for processing images.
To delete images I created a filament action in the livewire component, and then dispatch the delete function which is on the custom page.
I followed the structure described in the livewire docs - https://livewire.laravel.com/docs/nesting#listening-for-events-from-children
But when trying to delete an image, a 404 error occurs. It seems that after deletion, a return to the livewire component occurs, which no longer exists.
Please help me to fix this error. Thanks in advance.
My code:
I created a custom page for the post resource, for processing images.
To delete images I created a filament action in the livewire component, and then dispatch the delete function which is on the custom page.
I followed the structure described in the livewire docs - https://livewire.laravel.com/docs/nesting#listening-for-events-from-children
But when trying to delete an image, a 404 error occurs. It seems that after deletion, a return to the livewire component occurs, which no longer exists.
Please help me to fix this error. Thanks in advance.
My code:
Resource Custom page
custom-page-list
Livewire component
post-processing
