- Set the browser target to ES6 and reduce the JS bundle size considerably

- Upgrade ESLint to v9.x and migrate the .eslintrc.js file to make it work
This commit is contained in:
Aditya Toshniwal
2024-07-04 18:25:47 +05:30
committed by GitHub
parent 10b2e91e29
commit dcfef154ce
21 changed files with 266 additions and 233 deletions

View File

@@ -2,7 +2,6 @@ import React from 'react';
import Theme from 'sources/Theme';
export function withTheme(WrappedComp) {
// eslint-disable-next-line react/display-name
return (props)=>{
return <Theme><WrappedComp {...props}/></Theme>;
};