File size: 127 Bytes
1e92f2d | 1 2 3 4 5 6 7 8 | "use client"
import { useReducer } from "react"
export function useForceUpdate() {
return useReducer((x) => x + 1, 0)[1]
}
|
1e92f2d | 1 2 3 4 5 6 7 8 | "use client"
import { useReducer } from "react"
export function useForceUpdate() {
return useReducer((x) => x + 1, 0)[1]
}
|