Skip to content

Commit

Permalink
chore: clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
lawvs committed Oct 13, 2024
1 parent 94ededf commit 1697269
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/renderer/src/modules/discover/feed-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ const FeedInnerForm = ({
</div>

<ViewSelectorRadioGroup
feedOrList={feed}
feed={feed}
value={field.value}
{...form.register("view")}
/>
Expand Down
4 changes: 2 additions & 2 deletions apps/renderer/src/modules/shared/ViewSelectorRadioGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import { EntryItem } from "../entry-column/item"

export const ViewSelectorRadioGroup = forwardRef<
HTMLInputElement,
{ feedOrList?: FeedModel | ListModel } & React.InputHTMLAttributes<HTMLInputElement>
>(({ feedOrList, className, value, ...rest }, ref) => {
{ feed?: FeedModel } & React.InputHTMLAttributes<HTMLInputElement>
>(({ feed: feedOrList, className, value, ...rest }, ref) => {
const t = useI18n()

return (
Expand Down

0 comments on commit 1697269

Please sign in to comment.