import { SecretSyncLabel } from "@app/components/secret-syncs"; import { SECRET_SYNC_INITIAL_SYNC_BEHAVIOR_MAP } from "@app/helpers/secretSyncs"; import { TSecretSync } from "@app/hooks/api/secretSyncs"; type Props = { secretSync: TSecretSync; // onEditOptions: VoidFunction; }; export const SecretSyncOptionsSection = ({ secretSync // onEditOptions }: Props) => { const { destination, syncOptions: { // appendSuffix, // prependPrefix, initialSyncBehavior } } = secretSync; return (

Sync Options

{/* {(isAllowed) => ( )} */}
{SECRET_SYNC_INITIAL_SYNC_BEHAVIOR_MAP[initialSyncBehavior](destination).name} {/* {prependPrefix} {appendSuffix} */}
); };