ente/src/components/IncognitoWarning.tsx

19 lines
543 B
TypeScript
Raw Normal View History

import React from 'react';
import constants from 'utils/strings/constants';
import MessageDialog from './MessageDialog';
export default function IncognitoWarning() {
return (
<MessageDialog
show={true}
onHide={() => null}
attributes={{
title: constants.LOCAL_STORAGE_NOT_ACCESSIBLE,
staticBackdrop: true,
nonClosable: true,
2021-08-13 02:38:38 +00:00
}}>
<div>{constants.LOCAL_STORAGE_NOT_ACCESSIBLE_MESSAGE}</div>
</MessageDialog>
);
}