-
Notifications
You must be signed in to change notification settings - Fork 184
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
fix: make header text clickable #130
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
onReviewSwapClick={() => { | ||
return new Promise((resolve) => resolve(true)) | ||
}} | ||
onReviewSwapClick={() => new Promise((resolve) => resolve(true))} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unrelated but nit to remove extra brackets
src/components/Dialog.tsx
Outdated
<IconButton color="primary" onClick={useContext(OnCloseContext)} icon={ChevronLeft} /> | ||
<Row gap={0.5}>{title && <ThemedText.Subhead1>{title}</ThemedText.Subhead1>}</Row> | ||
</Row> | ||
<TextButton color="primary" onClick={useContext(OnCloseContext)}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: (I know this isn't a part of this PR) - hooks shouldn't be used in the render function
🎉 This PR is included in version 2.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Both left arrow & header text are now clickable in a dialog popup (as per design request)