Skip to content

Commit 894fd2a

Browse files
committed
delete commented code
1 parent a6a2683 commit 894fd2a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/components/HintsCardsRow/GenericHintCard/GenericHintCard.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,6 @@ export const GenericHintCard: React.FC<GenericHintProps> = ({
2323
// Calculate segments and state using the provided calculator
2424
const hintState = config.calculateSegments(allItems, isLoading || false, error, enabled, t);
2525

26-
// Handle click navigation if scroll target is provided
27-
/*
28-
const handleClick =
29-
enabled && config.scrollTarget
30-
? () => {
31-
const el = document.querySelector(config.scrollTarget!);
32-
if (el) {
33-
el.scrollIntoView({ behavior: 'smooth', block: 'start' });
34-
}
35-
}
36-
: undefined; */
37-
3826
return (
3927
<div className={styles2.container}>
4028
<Card

0 commit comments

Comments
 (0)