docs: use string instead of atom for post_selector/1 (#72)

This commit is contained in:
Chris Hopkins 2023-02-15 21:54:06 +09:00 committed by GitHub
parent ad09c38494
commit 1ab52551b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -476,7 +476,7 @@ defmodule MyAshPhoenixAppWeb.ExampleLiveView do
defp post_selector(posts) do
for post <- posts do
{:"#{post.title}", post.id}
{post.title, post.id}
end
end
end