We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi @msaraiva , I updated the latest commit from master and got the following error. ** (BadMapError) expected a map, got: nil
** (BadMapError) expected a map, got: nil
Just tried it in data_component_test.exs
data_component_test.exs
defmodule StatefulComponent do use Surface.LiveComponent def update(assigns, socket) do {:ok, assign(socket, test: "test")} end def render(assigns) do ~H""" <div>Stateful</div> """ end end
and running the test will output
** (BadMapError) expected a map, got: nil code: {:ok, _view, html} = live_isolated(build_conn(), ViewWithNoBindings) stacktrace: (elixir) lib/map.ex:744: Map.split(nil, [:__default__]) (surface) lib/surface/content_handler.ex:21: Surface.ContentHandler.init_contents/1
The text was updated successfully, but these errors were encountered:
0fc19a6
@technicalcapt fixed on master! Thanks a lot for reporting the issue.
Sorry, something went wrong.
No branches or pull requests
Hi @msaraiva , I updated the latest commit from master and got the following error.
** (BadMapError) expected a map, got: nil
Just tried it in
data_component_test.exs
and running the test will output
The text was updated successfully, but these errors were encountered: