Skip to content

Commit 5a3db82

Browse files
authored
Fix live_reload references in README (#58)
1 parent c1a7d9f commit 5a3db82

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ defmodule MySite.RootLayout do
9292
end
9393

9494
if Mix.env() == :dev do
95-
c &Tableau.Components.live_reload/1
95+
c &Tableau.live_reload/1
9696
end
9797
end
9898
end
@@ -147,7 +147,7 @@ config :tableau, :reloader,
147147
]
148148
```
149149

150-
All you need to do is render the `Tableau.Components.LiveReload` component right after your `body` tag.
150+
All you need to do is render the `Tableau.live_reload/1` component right after your `body` tag.
151151

152152
```elixir
153153
# lib/layouts/app.ex
@@ -177,7 +177,7 @@ defmodule YourApp.Layouts.App do
177177
end
178178

179179
if Mix.env() == :dev do
180-
c &Tableau.Components.live_reload/1
180+
c &Tableau.live_reload/1
181181
end
182182
end
183183
end

0 commit comments

Comments
 (0)