nicolium: need a rule for this

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-02-26 20:42:27 +01:00
parent 8a6fb5f1a1
commit 3b9cb60084
3 changed files with 5 additions and 4 deletions

View File

@ -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' },
});

View File

@ -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;

View File

@ -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;