mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 08:06:00 +00:00
eec8b64bae
Simplified Dropzone implementation by extracting inner logic to a new component, `DropzoneInner`. Replaced local dropzone state logic with centralized state management using zustand. Adjusted API exports and props accordingly for consistency and maintainability.
8 lines
143 B
TypeScript
8 lines
143 B
TypeScript
import { useRef } from "react";
|
|
|
|
export function useRenderCount() {
|
|
const count = useRef(0);
|
|
count.current++;
|
|
return count.current;
|
|
}
|