Skip to content

Commit 571d305

Browse files
katarina-calakresimir-coko
authored andcommitted
3332-removed twMerge and updated eslint whitelist
1 parent 5d0ce74 commit 571d305

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

client/eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ export default [
213213
'right-data-pill-panel-placement',
214214
'right-minimap-placement',
215215
'rounded-xs',
216+
'size-18',
216217
'sm:max-w-workflow-inputs-sheet-width',
217218
'stroke-destructive',
218219
'text-accent-foreground',

client/src/pages/platform/workflow-editor/nodes/AiAgentNode.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@ const AiAgentNode = ({data, id}: {data: NodeDataType; id: string}) => {
141141
>
142142
<HoverCardTrigger>
143143
<Button
144-
className={twMerge(
145-
'size-18 flex w-full flex-col items-center justify-center rounded-md border-2 border-stroke-neutral-tertiary bg-surface-neutral-primary p-4 shadow hover:border-stroke-brand-secondary-hover hover:bg-surface-neutral-primary hover:shadow-none focus-visible:ring-stroke-brand-focus active:bg-surface-neutral-primary'
146-
)}
144+
className="size-18 flex w-full flex-col items-center justify-center rounded-md border-2 border-stroke-neutral-tertiary bg-surface-neutral-primary p-4 shadow hover:border-stroke-brand-secondary-hover hover:bg-surface-neutral-primary hover:shadow-none focus-visible:ring-stroke-brand-focus active:bg-surface-neutral-primary"
147145
onClick={handleNodeClick}
148146
>
149147
<span className="self-center text-content-neutral-primary [&_svg]:size-9">

client/src/pages/platform/workflow-editor/nodes/ReadOnlyNode.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ import styles from './NodeTypes.module.css';
88

99
const ReadOnlyNode = ({data}: {data: NodeDataType}) => (
1010
<div className="relative flex cursor-grab items-center justify-center">
11-
<Button
12-
className={twMerge(
13-
'size-18 cursor-grab rounded-md border-2 border-stroke-neutral-tertiary bg-surface-neutral-primary p-4 text-primary shadow hover:border-stroke-brand-secondary-hover hover:bg-surface-neutral-primary hover:shadow-none focus-visible:ring-stroke-brand-focus active:bg-surface-neutral-primary [&_svg]:size-9'
14-
)}
15-
>
11+
<Button className="size-18 cursor-grab rounded-md border-2 border-stroke-neutral-tertiary bg-surface-neutral-primary p-4 text-primary shadow hover:border-stroke-brand-secondary-hover hover:bg-surface-neutral-primary hover:shadow-none focus-visible:ring-stroke-brand-focus active:bg-surface-neutral-primary [&_svg]:size-9">
1612
{data.icon}
1713
</Button>
1814

0 commit comments

Comments
 (0)