Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 9, 2023
1 parent e6144fe commit 76c0914
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ app = AlfortDom[dict[str, int], Msg](
update=update,
)
app.main(root="root")

```

![simple counter](https://raw.githubusercontent.com/ar90n/alfort-dom/assets/images/example.gif)
Expand Down Expand Up @@ -133,7 +132,7 @@ $ poetry poe run-example
[download-url]: https://pypi.org/project/alfort-dom/
[version-shield]: https://img.shields.io/pypi/v/alfort-dom?style=flat
[version-url]: https://pypi.org/project/alfort-dom/
[build-shiled]: https://img.shields.io/github/actions/workflow/status/ar90n/alfort-dom/ci-testing.yml
[build-shiled]: https://img.shields.io/github/actions/workflow/status/ar90n/alfort-dom/ci-testing.yml
[build-url]: https://github.com/ar90n/alfort-dom/actions/workflows/ci-testing.yml
[contributors-shield]: https://img.shields.io/github/contributors/ar90n/alfort-dom.svg?style=flat
[contributors-url]: https://github.com/ar90n/alfort-dom/graphs/contributors
Expand Down
1 change: 0 additions & 1 deletion docs/examples/key_and_mouse_events/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ def update(msg: Msg, state: State) -> tuple[State, list[Effect[Msg]]]:


def subscriptions(state: State) -> list[Subscription[Msg]]:

return [
on_mousemove(lambda e: MouseMoved(e.pageX, e.pageY)),
on_keypress(lambda e: KeyPressed(e.code)),
Expand Down

0 comments on commit 76c0914

Please sign in to comment.