import React, { Fragment, useContext } from 'react';
import { useHistory } from 'react-router-dom';
import PropTypes from 'prop-types';
import { I18nContext } from '../../../../contexts/i18n';
import Button from '../../../ui/button';
function lineBreaksToBr(source) {
return source.split('\n').map((value, index) => {
return (
{t('flaskWelcomeWarning1', [ {t('flaskWelcomeUninstall')}, ])}
{t('flaskWelcomeWarning2')}
{t('flaskWelcomeWarning3')}
{t('flaskWelcomeWarning4')}