[skip ci] Revert "add react linting"

doesnt work properly :(

This reverts commit 18fdc33ee7.
This commit is contained in:
Vendicated 2023-10-31 23:56:13 +01:00
parent 18fdc33ee7
commit 584885acf5
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
37 changed files with 97 additions and 884 deletions

View file

@ -133,7 +133,7 @@ export function useForceUpdater(withDep?: true) {
export function LazyComponent<T extends object = any>(factory: () => React.ComponentType<T>, attempts = 5) {
const get = makeLazy(factory, attempts);
return function Lazy(props: T) {
return (props: T) => {
const Component = get() ?? NoopComponent;
return <Component {...props} />;
};