feat: feature flags

This commit is contained in:
David Nguyen
2023-08-18 20:05:14 +10:00
committed by Mythie
parent 64eefbd340
commit aa2969fd50
23 changed files with 663 additions and 36 deletions

View File

@ -3,7 +3,7 @@ import { useCallback, useEffect, useState } from 'react';
import { Field } from '@documenso/prisma/client';
import { PDF_VIEWER_PAGE_SELECTOR } from '~/components/(dashboard)/pdf-viewer/types';
import { getBoundingClientRect } from '~/helpers/getBoundingClientRect';
import { getBoundingClientRect } from '~/helpers/get-bounding-client-rect';
export const useFieldPageCoords = (field: Field) => {
const [coords, setCoords] = useState({