fix: invalidate queries better

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-10-17 11:01:20 +02:00
parent 4ccabc5fa3
commit c8bea685db
50 changed files with 355 additions and 129 deletions

View File

@@ -1,5 +1,3 @@
'use client';
import {
BatteryFullIcon,
BatteryLowIcon,

View File

@@ -1,5 +1,3 @@
'use client';
import { AnimatePresence, motion } from 'framer-motion';
import { useEffect, useState } from 'react';

View File

@@ -1,5 +1,3 @@
'use client';
import { getGithubRepoInfo } from '@/lib/github';
import Link from 'next/link';
import { useEffect, useState } from 'react';

View File

@@ -1,5 +1,3 @@
'use client';
import { cn } from '@/lib/utils';
import { motion } from 'framer-motion';
import NextImage from 'next/image';

View File

@@ -1,5 +1,3 @@
'use client';
import { motion, useScroll, useTransform } from 'framer-motion';
import { WorldMap } from './world-map';

View File

@@ -1,5 +1,3 @@
'use client';
import { baseOptions } from '@/app/layout.config';
import { cn } from '@/lib/utils';
import { AnimatePresence, motion } from 'framer-motion';

View File

@@ -1,4 +1,3 @@
'use client';
import NumberFlow from '@number-flow/react';
import { cn } from '@/lib/utils';

View File

@@ -1,5 +1,3 @@
'use client';
import { AnimatePresence, motion } from 'framer-motion';
import {
BellIcon,

View File

@@ -1,5 +1,3 @@
'use client';
import { motion } from 'framer-motion';
import { useEffect, useState } from 'react';

View File

@@ -1,5 +1,3 @@
'use client';
import Image from 'next/image';
import { useEffect, useState } from 'react';

View File

@@ -1,5 +1,3 @@
'use client';
import { SimpleChart } from '@/components/simple-chart';
import { cn } from '@/lib/utils';
import NumberFlow from '@number-flow/react';

View File

@@ -1,5 +1,3 @@
'use client';
import * as AccordionPrimitive from '@radix-ui/react-accordion';
import { ChevronDown } from 'lucide-react';
import type * as React from 'react';

View File

@@ -1,5 +1,3 @@
'use client';
import * as SliderPrimitive from '@radix-ui/react-slider';
import * as React from 'react';

View File

@@ -1,5 +1,3 @@
'use client';
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
import type * as React from 'react';

View File

@@ -1,5 +1,3 @@
'use client';
import DottedMap from 'dotted-map/without-countries';
import { useEffect, useMemo, useState } from 'react';
import { mapJsonString } from './world-map-string';