Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New page structure #1377

Merged
merged 3 commits into from
Aug 30, 2023
Merged

Conversation

brendanlaschke
Copy link
Contributor

Did I miss something ?

closes #1333

@ergomake
Copy link

ergomake bot commented Aug 29, 2023

Hi 👋

We couldn't create a preview environment for this pull-request 😥

You can see your environment build logs here. Please double-check your docker-compose.yml file is valid.

If you need help, email us at contact@getergomake.com or join Discord.

Click here to disable Ergomake.

import { IconPlus } from '@/ui/icon';

type OwnProps = {
handleClick: () => void;
Copy link
Contributor

Choose a reason for hiding this comment

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

The convention is to use onClick for event in props


type OwnProps = {
isFavorite: boolean;
handleClick: () => void;
Copy link
Contributor

Choose a reason for hiding this comment

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

onClick

@lucasbordeau
Copy link
Contributor

Nice PR I think it's ok, we'll refactor more if we see missing pages.

@brendanlaschke
Copy link
Contributor Author

Sure fixed - coming from other frameworks where this might break but here its fine :)

@lucasbordeau lucasbordeau merged commit fa33506 into twentyhq:main Aug 30, 2023
@brendanlaschke brendanlaschke deleted the new-page-structure branch August 30, 2023 13:11
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.

Refactor Pages to use new PageHeader, PageBody structure
2 participants