nicolium: need a rule for this
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -4,13 +4,13 @@ import React from 'react';
|
||||
import toast, { type Toast as RHToast } from 'react-hot-toast';
|
||||
import { defineMessages, useIntl, FormattedMessage } from 'react-intl';
|
||||
|
||||
import { type ToastText, type ToastType } from '@/toast';
|
||||
|
||||
import HStack from './hstack';
|
||||
import Icon from './icon';
|
||||
import Stack from './stack';
|
||||
import Text from './text';
|
||||
|
||||
import type { ToastText, ToastType } from '@/toast';
|
||||
|
||||
const messages = defineMessages({
|
||||
close: { id: 'lightbox.close', defaultMessage: 'Close' },
|
||||
});
|
||||
|
||||
@ -5,7 +5,8 @@
|
||||
*/
|
||||
|
||||
import { $isAtNodeEnd } from '@lexical/selection';
|
||||
import { type ElementNode, type RangeSelection, type TextNode } from 'lexical';
|
||||
|
||||
import type { ElementNode, RangeSelection, TextNode } from 'lexical';
|
||||
|
||||
export const getSelectedNode = (selection: RangeSelection): TextNode | ElementNode => {
|
||||
const anchor = selection.anchor;
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
import { useNavigate } from '@tanstack/react-router';
|
||||
import { type Filter, type FilterContext } from 'pl-api';
|
||||
import React, { useEffect, useMemo, useState } from 'react';
|
||||
import { defineMessages, FormattedMessage, useIntl } from 'react-intl';
|
||||
|
||||
@ -24,6 +23,7 @@ import { useCreateFilter, useFilter, useUpdateFilter } from '@/queries/settings/
|
||||
import toast from '@/toast';
|
||||
|
||||
import type { StreamfieldComponent } from '@/components/ui/streamfield';
|
||||
import type { Filter, FilterContext } from 'pl-api';
|
||||
|
||||
interface IFilterField {
|
||||
id?: string;
|
||||
|
||||
Reference in New Issue
Block a user