// Copyright 2020-2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import React from 'react'; import type { LocalizerType } from '../types/Util'; import type { WidthBreakpoint } from './_util'; import { LeftPaneDialog } from './LeftPaneDialog'; export type PropsType = { containerWidthBreakpoint: WidthBreakpoint; i18n: LocalizerType; isRegistrationDone: boolean; relinkDevice: () => void; }; export const DialogRelink = ({ containerWidthBreakpoint, i18n, isRegistrationDone, relinkDevice, }: PropsType): JSX.Element | null => { if (isRegistrationDone) { return null; } return ( ); };