Skip to content

Commit

Permalink
fix(core): fix lint warning in WithAddonDatasetProvider (#7240)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobonamin committed Jul 25, 2024
1 parent f019584 commit eab5c75
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {type BundleDocument} from '../types'
import {useBundleOperations} from '../useBundleOperations'
import {useBundles} from '../useBundles'

const WithAddonDatasetProvider = <P extends object>(Component: ComponentType<P>): React.FC<P> => {
const withAddonDatasetProvider = <P extends object>(Component: ComponentType<P>): React.FC<P> => {
const WrappedComponent: React.FC<P> = (props) => (
<AddonDatasetProvider>
<Component {...props} />
Expand Down Expand Up @@ -163,4 +163,4 @@ const BundlesStoreStory = () => {
)
}

export default WithAddonDatasetProvider(BundlesStoreStory)
export default withAddonDatasetProvider(BundlesStoreStory)

0 comments on commit eab5c75

Please sign in to comment.