Skip to content

Commit 9f587de

Browse files
Tom GotsmanTom Gotsman
authored andcommitted
fix ruff format
1 parent dd94c8f commit 9f587de

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

reflex_ui/blocks/demo_form.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,7 @@ async def on_submit(self, form_data: dict[str, Any]):
276276
# Send to PostHog and Slack for all submissions
277277
yield DemoFormStateUI.send_demo_event(form_data)
278278
# Send data to Google Ads conversion tracking
279-
yield rx.call_script(
280-
"gtag_report_conversion()"
281-
)
279+
yield rx.call_script("gtag_report_conversion()")
282280

283281
notes_content = f"""
284282
Name: {form_data.get("first_name", "")} {form_data.get("last_name", "")}

reflex_ui/blocks/telemetry/google.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def get_google_analytics_trackers(
3535
rx.script(GTAG_SCRIPT_TEMPLATE.format(tracking_id=tracking_id)),
3636
]
3737

38+
3839
def gtag_report_conversion(conversion_id_and_label: str) -> rx.Component:
3940
"""Generate a script component to report a conversion to Google Ads.
4041

0 commit comments

Comments
 (0)