build: multi-config build and dep update

This commit is contained in:
iCrawl
2023-11-14 01:26:22 +01:00
parent 75fc7f2454
commit 8f432400d8
124 changed files with 566 additions and 252 deletions

View File

@@ -15,7 +15,10 @@ export default function OverloadSwitcher({
methodName,
overloads,
children,
}: PropsWithChildren<{ readonly methodName: string; readonly overloads: ReactNode[] }>) {
}: PropsWithChildren<{
readonly methodName: string;
readonly overloads: ReactNode[];
}>) {
const [hash, setHash] = useState(() => (typeof window === 'undefined' ? '' : window.location.hash));
const hashChangeHandler = useCallback(() => {
setHash(window.location.hash);