akkounts/app/components/wallet_summary_component.rb
Sebastian Kippe cf62bfc5c2
All checks were successful
continuous-integration/drone/push Build is passing
WIP Add wallet transactions route, view
Adds a new component for the wallet summary as well, and makes the
component tests work with RSpec.
2022-03-02 15:31:39 -06:00

9 lines
143 B
Ruby

# frozen_string_literal: true
class WalletSummaryComponent < ViewComponent::Base
def initialize(balance:)
@balance = balance
end
end