Skip to content

Conversation

@lubej
Copy link
Contributor

@lubej lubej commented Sep 8, 2025

Follow up on the discussion #267 (comment)

@lubej lubej requested a review from lukaw3d September 8, 2025 08:56
@github-actions
Copy link

github-actions bot commented Sep 8, 2025

Deployed to Cloudflare Pages

Latest commit: a4fa157d89103e238c0c9b8605f24d21a0f97c9d
Status:✅ Deploy successful!
Preview URL: https://f1afa7f6.rofl-app.pages.dev
Alias: https://pr-306.rofl-app.pages.dev

const trackedEvents = useRef<Set<number>>(new Set())

useEffect(() => {
if (flowMode !== 'create') return
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah handling sideeffects here is annoying

Comment on lines +88 to +93
{({ openConnectModal }) => {
return isConnected ? (
<Button size="lg" asChild>
<Link to="/create">
Get started
<ArrowRight />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what I meant was: when user is on path /create: if wallet is not connected, show connect button + TemplatesList. If wallet is connected then show step 0 (TemplatesList). Delete /templates path. Delete "Get started" button

<div className="mx-auto px-8 py-12">
<div className="mb-10">
<h1 className="text-2xl font-white font-bold text-center mb-8">
Create your app from a template
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

having a different page title above TemplatesList
"Create your app from a template" vs "Start by Selecting a Template" is annoying. maybe not worth consolidating

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants