Skip to content

Commit

Permalink
Merge pull request #151 from bluzky/fix/wrong-attr-type-chart-component
Browse files Browse the repository at this point in the history
fix wrong attr type
  • Loading branch information
bluzky authored Feb 16, 2025
2 parents ab12265 + ff6a9f0 commit 92aeb20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/salad_ui/chart.ex
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ defmodule SaladUI.Chart do
attr :id, :string, required: true
attr :name, :string, default: "", doc: "name of the chart for screen readers"
attr :chart_config, :map, required: true
attr :chart_data, :map, required: true
attr :chart_data, :list, required: true

def chart(assigns) do
~H"""
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule SaladUI.MixProject do
def project do
[
app: :salad_ui,
version: "0.14.7",
version: "0.14.8",
elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
Expand Down

0 comments on commit 92aeb20

Please sign in to comment.