Skip to content

Commit

Permalink
Merge pull request #61 from cirdes/fix-clipboard
Browse files Browse the repository at this point in the history
Fix clipboard popover rendering
  • Loading branch information
SethHorsley authored Jul 3, 2024
2 parents ab73874 + b20cee8 commit 73ea717
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/phlex_ui/clipboard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ def view_template(&block)
private

def success_popover
render Clipboard::Popover.new(type: :success) { @success }
ClipboardPopover(type: :success) { @success }
end

def error_popover
render Clipboard::Popover.new(type: :error) { @error }
ClipboardPopover(type: :error) { @error }
end

def default_attrs
Expand Down

0 comments on commit 73ea717

Please sign in to comment.