Skip to content

Commit

Permalink
Disable typecheck for react spring components
Browse files Browse the repository at this point in the history
  • Loading branch information
robertying committed Dec 28, 2024
1 parent f42c050 commit 59396c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/GPUPerformanceShareScatterPlot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ const GPUPerformanceShareScatterPlot: React.FC<
</div>
<div className="flex items-center justify-between">
{dateTransitions((style, date) => (
// @ts-ignore
<animated.div
className="absolute tabular-nums font-mono ml-1"
style={style}
Expand Down
3 changes: 3 additions & 0 deletions components/GPUShareCryptoPieChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ const GPUShareCryptoPieChart: React.FC<GPUShareCryptoPieChartProps> = ({
<div className="flex items-center justify-between">
<div>
{dateTransitions((style, date) => (
// @ts-ignore
<animated.div
className="absolute tabular-nums font-mono ml-1"
style={style}
Expand All @@ -292,6 +293,7 @@ const GPUShareCryptoPieChart: React.FC<GPUShareCryptoPieChartProps> = ({
<div className="ml-auto relative">
<div className="absolute right-10 w-36">ETH-USD:</div>
{digitTransitions((style, digit) => (
// @ts-ignore
<animated.span
className="absolute tabular-nums font-mono"
style={style}
Expand All @@ -314,6 +316,7 @@ const GPUShareCryptoPieChart: React.FC<GPUShareCryptoPieChartProps> = ({
</div>
<div className="pointer-events-none">
{labelTransitions((style, d) => (
// @ts-ignore
<animated.div
key={d.data.name}
className="absolute text-black dark:text-white text-sm leading-none"
Expand Down
2 changes: 2 additions & 0 deletions components/GPUShareTreeMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ const GPUShareTreeMap: React.FC<GPUShareTreeMapProps> = ({
</div>
</div>
{dateTransitions((style, date) => (
// @ts-ignore
<animated.div
className="absolute tabular-nums font-mono ml-1"
style={style}
Expand All @@ -257,6 +258,7 @@ const GPUShareTreeMap: React.FC<GPUShareTreeMapProps> = ({
</div>
<div className="pointer-events-none">
{labelTransitions((style, leaf) => (
// @ts-ignore
<animated.div
key={leaf.data.name}
className="absolute flex items-center justify-center p-2"
Expand Down

0 comments on commit 59396c0

Please sign in to comment.