mirror of
https://github.com/mue/mue.git
synced 2026-07-17 22:14:13 +02:00
feat: update project configuration and dependencies
- Updated jsconfig.json to use ESNext module and target, added JSX support, and improved path mappings. - Modified package.json to set module type, updated dependencies including React and MUI, and added new dev dependencies for ESLint and Husky. - Refactored Favourite component to improve tooltip handling with lifecycle methods. - Replaced @muetab/react-sortable-hoc with @dnd-kit for drag-and-drop functionality in Overview, Todo, and QuickLinksOptions components. - Enhanced QuickLinksOptions to support drag-and-drop reordering with updated state management. - Updated Vite configuration to target ESNext for modern JavaScript features. - Added Husky pre-commit hook for linting. - Created .nvmrc file to specify Node.js version. - Added ESLint configuration for improved code quality and consistency.
This commit is contained in:
@@ -352,7 +352,7 @@ class About extends PureComponent {
|
||||
<span className="title">
|
||||
{variables.getMessage('modals.main.settings.sections.about.photographers')}
|
||||
</span>
|
||||
{!!this.state.loading ? <p>{this.state.loading}</p> : <></>}
|
||||
{this.state.loading ? <p>{this.state.loading}</p> : <></>}
|
||||
<ul>
|
||||
{this.state.photographers.map(({ name, count }) => (
|
||||
<li key={name} className="subtitle-photographers">
|
||||
@@ -374,7 +374,7 @@ class About extends PureComponent {
|
||||
<span className="title">
|
||||
{variables.getMessage('modals.main.settings.sections.about.curators')}
|
||||
</span>
|
||||
{!!this.state.loading ? <p>{this.state.loading}</p> : <></>}
|
||||
{this.state.loading ? <p>{this.state.loading}</p> : <></>}
|
||||
<ul>
|
||||
{this.state.curators.map((name) => (
|
||||
<li key={name} className="subtitle-photographers">
|
||||
|
||||
Reference in New Issue
Block a user