Delete market sx_components.py — move all rendering to sxc/pages
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 32s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 32s
Phase 6 of the zero-Python-rendering plan. All 46 rendering functions move from market/sx/sx_components.py into market/sxc/pages/__init__.py. Route handlers import from sxc.pages instead. load_service_components call moves into _load_market_page_files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -30,7 +30,7 @@ def register() -> Blueprint:
|
||||
|
||||
markets, has_more = await _load_markets(post["id"], page)
|
||||
|
||||
from sx.sx_components import render_page_markets_cards
|
||||
from sxc.pages import render_page_markets_cards
|
||||
post_slug = post.get("slug", "")
|
||||
sx_src = await render_page_markets_cards(markets, has_more, page, post_slug)
|
||||
return sx_response(sx_src)
|
||||
|
||||
Reference in New Issue
Block a user