Lint all the things
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { Checkbox, Col, Form, Input, Row, Select, Space, Switch, Tag } from "antd";
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { connect } from "react-redux";
|
||||
import { createStructuredSelector } from "reselect";
|
||||
@@ -9,7 +8,7 @@ import NotesPresetButton from "../notes-preset-button/notes-preset-button.compon
|
||||
const mapStateToProps = createStructuredSelector({
|
||||
noteUpsertModal: selectNoteUpsert
|
||||
});
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
const mapDispatchToProps = () => ({
|
||||
//setUserLanguage: language => dispatch(setUserLanguage(language))
|
||||
});
|
||||
export default connect(mapStateToProps, mapDispatchToProps)(NoteUpsertModalComponent);
|
||||
@@ -77,7 +76,7 @@ export function NoteUpsertModalComponent({ form, noteUpsertModal }) {
|
||||
<div>
|
||||
<div>{!existingNote && t("notes.labels.addtorelatedro")}</div>
|
||||
{!existingNote &&
|
||||
filteredRelatedRos.map((j, idx) => (
|
||||
filteredRelatedRos.map((j) => (
|
||||
<Space key={j.id} align="center">
|
||||
<Form.Item noStyle name={["relatedros", j.id]} valuePropName="checked">
|
||||
<Checkbox />
|
||||
|
||||
@@ -109,7 +109,7 @@ export function NoteUpsertModalContainer({ currentUser, noteUpsertModal, toggleM
|
||||
}
|
||||
});
|
||||
}
|
||||
} catch (error) {
|
||||
} catch {
|
||||
// Cache miss is okay, query hasn't been executed yet
|
||||
console.log("Cache miss for GET_JOB_BY_PK");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user