Skip to content

Commit

Permalink
Add missing changelog header (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger authored Jan 11, 2025
1 parent 27e8ef0 commit 923e309
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Don't forget to remove deprecated code on each major release!

### [5.2.1] - 2025-01-10

### Changed

- Use the latest version of `@reactpy/client` which includes a fix for needless client-side component re-creation.

### [5.2.0] - 2024-12-29
Expand Down
6 changes: 0 additions & 6 deletions tests/test_app/tests/js/button-from-js-module.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import { h, render } from "https://unpkg.com/preact?module";
import htm from "https://unpkg.com/htm?module";

const html = htm.bind(h);

export function bind(node, config) {
return {
Expand All @@ -16,9 +13,6 @@ export function SimpleButton(props) {
"button",
{
id: props.id,
onClick(event) {
props.onClick({ data: props.eventResponseData });
},
},
"simple button",
);
Expand Down
2 changes: 1 addition & 1 deletion tests/test_app/tests/test_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def test_component_session_exists(self):
@navigate_to_page("/")
def test_component_session_missing(self):
"""No session should exist for components that don't have args/kwargs."""
component = self.page.locator("#button-from-js-module")
component = self.page.locator("#use-scope")
component.wait_for()
parent = component.locator("..")
session_id = parent.get_attribute("id")
Expand Down

0 comments on commit 923e309

Please sign in to comment.