-
Notifications
You must be signed in to change notification settings - Fork 9
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
Trying to fix lint #821
Trying to fix lint #821
Conversation
45f509e
to
d7720ed
Compare
app/components/HowCanIHelp/Base.tsx
Outdated
@@ -5,9 +5,10 @@ import {helpUrl} from '~/routesMapper' | |||
import {ReactNode} from 'react' | |||
|
|||
type BaseProps = { | |||
title: string | |||
title: string | ReactNode |
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.
how about just title: ReactNode
?
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.
Done
@@ -8,7 +8,12 @@ import './category-carousel.css' | |||
|
|||
const PER_BOX = 320 | |||
|
|||
const CategoryCarousel = ({title, category}: {title: string; category: PageId}) => { | |||
interface CategoryCarouselProps { |
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.
can you do type CategoryCarouselProps = {
? For consistency with the other parts of the code
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.
Also done
No description provided.