refactor: HOCs named imports

This commit is contained in:
Ahmed Bouhuolia
2026-01-01 21:58:42 +02:00
parent 5d872798ff
commit 0f377e19f3
712 changed files with 1367 additions and 1360 deletions

View File

@@ -1,7 +1,7 @@
// @ts-nocheck
import React from 'react';
import * as R from 'ramda';
import withFeatureCan from './withFeatureCan';
import { withFeatureCan } from './withFeatureCan';
function FeatureCanJSX({ feature, children, isFeatureCan }) {
return isFeatureCan && children;