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

fix: import lodash methods directly #126

Merged
merged 1 commit into from
Sep 20, 2023
Merged
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 src/extensions/behavior/Placeholder/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type {Node, Schema} from 'prosemirror-model';
import {EditorState, Plugin, PluginKey, Transaction} from 'prosemirror-state';
import {isEqual} from 'lodash';
import isEqual from 'lodash/isEqual';
import {Decoration, DecorationSet} from 'prosemirror-view';
import {findChildren, findParentNodeClosestToPos} from 'prosemirror-utils';
import {cn} from '../../../classname';
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/markdown/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {isFunction} from 'lodash';
import isFunction from 'lodash/isFunction';
import type {Extension, ExtensionAuto} from '../../core';

import {Bold, BoldOptions} from './Bold';
Expand Down
2 changes: 1 addition & 1 deletion src/toolbar/ToolbarButton.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import {isFunction} from 'lodash';
import isFunction from 'lodash/isFunction';
import {ActionTooltip, Button, Icon} from '@gravity-ui/uikit';
import {cn} from '../classname';
import {ToolbarTooltipDelay} from './const';
Expand Down
2 changes: 1 addition & 1 deletion src/toolbar/ToolbarListButton.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import {isFunction} from 'lodash';
import isFunction from 'lodash/isFunction';
import {Button, Hotkey, Icon, Menu, Popup, Tooltip} from '@gravity-ui/uikit';
import {HelpPopover} from '@gravity-ui/components';
import {ChevronDown} from '@gravity-ui/icons';
Expand Down
Loading