Skip to content

Commit 7ada856

Browse files
authored
link (#1430)
1 parent 777a831 commit 7ada856

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pcweb/pages/landing/views/hero.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ async def redirect_to_ai_builder(self, form_data: dict):
5050
return (
5151
rx.redirect("/")
5252
if not response.is_success
53-
else rx.redirect(
54-
REFLEX_BUILD_URL.strip("/") + f"/prompt?token={random_uuid!s}"
55-
)
53+
else rx.redirect(REFLEX_BUILD_URL.strip("/"))
5654
)
5755

5856
@rx.event
@@ -388,7 +386,9 @@ def prompt_box() -> rx.Component:
388386
rx.box(
389387
preset_image_card(text="Use an Image", id="upload-image-button"),
390388
preset_cards(text="Chat App", id="chat-app", icon="ai-chat-02"),
391-
preset_cards(text="Live Dashboard", id="live-dashboard", icon="webpage"),
389+
preset_cards(
390+
text="Live Dashboard", id="live-dashboard", icon="webpage"
391+
),
392392
class_name="grid grid-cols-1 lg:grid-cols-3 gap-2",
393393
),
394394
class_name="flex flex-col gap-4 w-full",

0 commit comments

Comments
 (0)