Skip to content

Commit 12f48f0

Browse files
authored
fix: use nodejs redis instead of cloudflare (#27)
1 parent a21b61e commit 12f48f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/clients.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { RedisCredentials } from "@/store"
22
import { MutationCache, QueryCache, QueryClient } from "@tanstack/react-query"
3-
import { Redis } from "@upstash/redis/cloudflare"
3+
import { Redis } from "@upstash/redis"
44

55
import { toast } from "@/components/ui/use-toast"
66

src/redis-context.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createContext, useContext, useMemo, type PropsWithChildren } from "react"
2-
import type { Redis } from "@upstash/redis/cloudflare"
2+
import type { Redis } from "@upstash/redis"
33

44
import { redisClient } from "./lib/clients"
55

0 commit comments

Comments
 (0)