feat(turbo): longer dely before hiding flash messages

This commit is contained in:
Paul Chavard 2022-05-08 12:35:20 +02:00
parent dca4dda228
commit 57c55107c0

View file

@ -1,6 +1,6 @@
- if flash.any? - if flash.any?
= turbo_stream.replace 'flash_messages', partial: 'layouts/flash_messages' = turbo_stream.replace 'flash_messages', partial: 'layouts/flash_messages'
= turbo_stream.hide 'flash_messages', delay: 10000 = turbo_stream.hide 'flash_messages', delay: 30000
- flash.clear - flash.clear
= yield = yield