Refine the clear all data experience

This commit is contained in:
Josh Perez
2021-08-24 16:57:34 -04:00
committed by GitHub
parent 488ac22860
commit 8045a83374
11 changed files with 127 additions and 199 deletions

View File

@@ -0,0 +1,15 @@
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import React from 'react';
import { render } from 'react-dom';
import { ClearingData } from '../components/ClearingData';
import { deleteAllData } from './deleteAllData';
export function renderClearingDataView(): void {
render(
<ClearingData deleteAllData={deleteAllData} i18n={window.i18n} />,
document.getElementById('app-container')
);
}