@@ -4,7 +4,6 @@ import { Tooltip2 } from '@blueprintjs/popover2'
4
4
import clsx from 'clsx'
5
5
import { copyShortCode , handleDownloadJSON } from 'services/operation'
6
6
7
- import { ReLink } from 'components/ReLink'
8
7
import { RelativeTime } from 'components/RelativeTime'
9
8
import { AddToOperationSetButton } from 'components/operation-set/AddToOperationSet'
10
9
import { OperationRating } from 'components/viewer/OperationRating'
@@ -13,6 +12,7 @@ import { OpDifficulty, Operation } from 'models/operation'
13
12
import { useLevels } from '../apis/level'
14
13
import { createCustomLevel , findLevelByStageName } from '../models/level'
15
14
import { Paragraphs } from './Paragraphs'
15
+ import { ReLinkDiv } from './ReLinkDiv'
16
16
import { EDifficulty } from './entity/EDifficulty'
17
17
import { EDifficultyLevel , NeoELevel } from './entity/ELevel'
18
18
@@ -21,9 +21,9 @@ export const NeoOperationCard = ({ operation }: { operation: Operation }) => {
21
21
22
22
return (
23
23
< Card interactive = { true } elevation = { Elevation . TWO } className = "relative" >
24
- < ReLink
24
+ < ReLinkDiv
25
25
search = { { op : operation . id } }
26
- className = "no-underline h-full flex flex-col gap-2"
26
+ className = "h-full flex flex-col gap-2"
27
27
>
28
28
< div className = "flex" >
29
29
< Tooltip2
@@ -120,7 +120,7 @@ export const OperationCard = ({ operation }: { operation: Operation }) => {
120
120
elevation = { Elevation . TWO }
121
121
className = "relative mb-4 sm:mb-2 last:mb-0"
122
122
>
123
- < ReLink search = { { op : operation . id } } className = "block no-underline" >
123
+ < ReLinkDiv search = { { op : operation . id } } >
124
124
< div className = "flex flex-wrap mb-4 sm:mb-2" >
125
125
{ /* title */ }
126
126
< div className = "flex flex-col gap-3" >
@@ -192,7 +192,7 @@ export const OperationCard = ({ operation }: { operation: Operation }) => {
192
192
< OperatorTags operation = { operation } />
193
193
</ div >
194
194
</ div >
195
- </ ReLink >
195
+ </ ReLinkDiv >
196
196
197
197
< CardActions
198
198
className = "absolute top-4 xl:top-12 right-[18px]"
0 commit comments