Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 🤖 bump tsdx from 0.11.0 to 0.12.0 #37

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"remark-preset-lint-recommended": "^3.0.3",
"remark-validate-links": "^9.0.1",
"start-server-and-test": "^1.10.6",
"tsdx": "0.11.0",
"tsdx": "0.12.0",
"tslib": "^1.10.0",
"typescript": "3.7.3"
},
Expand Down
5 changes: 3 additions & 2 deletions packages/date/src/DatepickerInput.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import noop from 'lodash-es/noop';
import React, { Component, FocusEventHandler, FocusEvent } from 'react';
// eslint-disable-next-line no-restricted-imports
import moment from 'moment';
Expand Down Expand Up @@ -47,8 +48,8 @@ export type DatePickerProps = {

export class DatepickerInput extends Component<DatePickerProps> {
static defaultProps: Partial<DatePickerProps> = {
onChange: () => {},
onBlur: () => {}
onChange: noop,
onBlur: noop
};

pikaday?: Pikaday;
Expand Down
3 changes: 1 addition & 2 deletions packages/markdown/src/components/MarkdownToolbar.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import noop from 'lodash-es/noop';
import React from 'react';
import { css, cx } from 'emotion';
import { Button, Tooltip, Icon } from '@contentful/forma-36-react-components';
Expand All @@ -7,8 +8,6 @@ import { HeadingSelector } from './HeadingSelector';
import { InsertLinkSelector } from './InsertLinkSelector';
import { MarkdownActions } from '../types';

const noop = () => {};

const styles = {
root: css({
position: 'relative',
Expand Down
3 changes: 1 addition & 2 deletions packages/tags/src/TagsEditor.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import noop from 'lodash/noop';
import React, { useState, useCallback } from 'react';
import { css } from 'emotion';
import tokens from '@contentful/forma-36-tokens';
Expand All @@ -7,8 +8,6 @@ import { ConstraintsType, Constraint } from './types';
import { SortableContainer, SortableElement, SortableHandle } from 'react-sortable-hoc';
import arrayMove from 'array-move';

const noop = () => {};

interface TagsEditorProps {
items: string[];
isDisabled: boolean;
Expand Down
Loading