Add vendor compliance report tab

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Jonathan
2025-06-01 16:31:44 +02:00
committed by Sacha Al Himdani
parent df23fd635f
commit 7cb84d8ce8
25 changed files with 949 additions and 83 deletions

View File

@@ -1,2 +1,3 @@
export { usePageTitle } from "./usePageTitle";
export { useToggle } from "./useToggle";
export { useRefSync } from "./useRefSync";

View File

@@ -0,0 +1,7 @@
import { useRef } from "react";
export function useRefSync<T>(value: T) {
const ref = useRef(value);
ref.current = value;
return ref;
}