Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Oct 24, 2023
1 parent f02973c commit 69c96cd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/docgen/generateStateModelDocs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ interface StateModel {
}

function generateStateModelDocs(files: string[]) {
// eslint-disable-next-line no-undef
const cwd = process.cwd() + '/'
const contents = {} as Record<string, StateModel>
extractWithComment(files, obj => {
Expand Down
1 change: 0 additions & 1 deletion lib/src/components/dialogs/MetadataDlg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const MetadataDialog = observer(function ({
header,
data: { treeMetadata },
} = model
console.log({ header, treeMetadata })

return (
<Dialog onClose={() => onClose()} open title="Metadata">
Expand Down
2 changes: 1 addition & 1 deletion lib/src/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ const model = types
* #method
*/
rowSpecificBpToPx(rowName: string, position: number) {
const { rowNames, rows, blanks } = self
const { rowNames, rows } = self
const index = rowNames.indexOf(rowName)
const row = rows[index][1]
const details = self.getRowData(rowName)
Expand Down

0 comments on commit 69c96cd

Please sign in to comment.