frontend: default export useRenderCount hook

This commit is contained in:
Mose Müller
2024-07-24 15:06:36 +02:00
parent 4ed8899708
commit c396de75fb
11 changed files with 11 additions and 12 deletions

View File

@ -1,6 +1,6 @@
import { useRef, useEffect } from "react";
export function useRenderCount() {
export default function useRenderCount() {
const count = useRef(0);
useEffect(() => {