fix(dashboard): resolve TS build errors in a11y changes
- Fix duplicate className attr in EmojiDialogs.tsx
- Replace animated.div with animated('div') in expression-reviewer and zoomable-chart to fix React 19 children type error
- Fix malformed i18n JSON (a11y namespace was outside root object)
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
|
||||
import { useRef } from 'react'
|
||||
import { animated, useSpring } from '@react-spring/web'
|
||||
|
||||
const AnimatedDiv = animated('div')
|
||||
import { usePinch } from '@use-gesture/react'
|
||||
|
||||
import { cn } from '@/lib/utils'
|
||||
@@ -82,9 +84,9 @@ export function ZoomableChart({
|
||||
className={cn('overflow-hidden touch-none select-none', className)}
|
||||
style={{ touchAction: 'none' }}
|
||||
>
|
||||
<animated.div style={style} className="w-full h-full origin-center">
|
||||
<AnimatedDiv style={style} className="w-full h-full origin-center">
|
||||
{children}
|
||||
</animated.div>
|
||||
</AnimatedDiv>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user