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

Trying to fix lint #821

Merged
merged 10 commits into from
Oct 28, 2024
Merged

Trying to fix lint #821

merged 10 commits into from
Oct 28, 2024

Conversation

bryceerobertson
Copy link
Member

No description provided.

@@ -5,9 +5,10 @@ import {helpUrl} from '~/routesMapper'
import {ReactNode} from 'react'

type BaseProps = {
title: string
title: string | ReactNode
Copy link
Collaborator

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?

Copy link
Member Author

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 {
Copy link
Collaborator

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Also done

@bryceerobertson bryceerobertson merged commit e1e9716 into stampy-redesign Oct 28, 2024
1 check passed
@bryceerobertson bryceerobertson deleted the bryce-volunteer branch October 28, 2024 21:30
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.

2 participants