Created
January 4, 2023 05:49
-
-
Save krsyoung/8b15702f1155d480005ebb69feb0bf61 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- replace the turbo frame with id="notifications" --> | |
<%= turbo_stream.replace :notifications do %> | |
<%= render(Notification::BadgeComponent.new(notifications: current_user.notifications)) %> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment