This commit is contained in:
David Nguyen
2025-02-05 01:29:26 +11:00
parent f4b2f8614e
commit 6b4c33a1bf
67 changed files with 31 additions and 156 deletions

View File

@ -1,5 +1,3 @@
'use client';
import { useCallback } from 'react';
import { getBoundingClientRect } from '@documenso/lib/client-only/get-bounding-client-rect';

View File

@ -1,5 +1,3 @@
'use client';
import { createContext, useCallback, useContext, useEffect, useState } from 'react';
import {
@ -9,7 +7,7 @@ import {
} from '@documenso/lib/constants/feature-flags';
import { getAllFlags } from '@documenso/lib/universal/get-feature-flag';
import { TFeatureFlagValue } from './feature-flag.types';
import type { TFeatureFlagValue } from './feature-flag.types';
export type FeatureFlagContextValue = {
getFlag: (_key: string) => TFeatureFlagValue;

View File

@ -1,5 +1,3 @@
'use client';
import { useState } from 'react';
import { type Messages, setupI18n } from '@lingui/core';