mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
[FLASK] Remove permission footer in snap install/update flow (#18240)
This commit is contained in:
parent
839d6a59ed
commit
f8fd9cde71
@ -2,7 +2,6 @@ import PropTypes from 'prop-types';
|
|||||||
import React, { useCallback, useState } from 'react';
|
import React, { useCallback, useState } from 'react';
|
||||||
import { PageContainerFooter } from '../../../../components/ui/page-container';
|
import { PageContainerFooter } from '../../../../components/ui/page-container';
|
||||||
import PermissionsConnectPermissionList from '../../../../components/app/permissions-connect-permission-list';
|
import PermissionsConnectPermissionList from '../../../../components/app/permissions-connect-permission-list';
|
||||||
import PermissionsConnectFooter from '../../../../components/app/permissions-connect-footer';
|
|
||||||
import { useI18nContext } from '../../../../hooks/useI18nContext';
|
import { useI18nContext } from '../../../../hooks/useI18nContext';
|
||||||
import SnapInstallWarning from '../../../../components/app/flask/snap-install-warning';
|
import SnapInstallWarning from '../../../../components/app/flask/snap-install-warning';
|
||||||
import Box from '../../../../components/ui/box/box';
|
import Box from '../../../../components/ui/box/box';
|
||||||
@ -155,9 +154,6 @@ export default function SnapInstall({
|
|||||||
alignItems={AlignItems.center}
|
alignItems={AlignItems.center}
|
||||||
flexDirection={FLEX_DIRECTION.COLUMN}
|
flexDirection={FLEX_DIRECTION.COLUMN}
|
||||||
>
|
>
|
||||||
<Box className="snap-install__footer--no-source-code" paddingTop={4}>
|
|
||||||
<PermissionsConnectFooter />
|
|
||||||
</Box>
|
|
||||||
<PageContainerFooter
|
<PageContainerFooter
|
||||||
cancelButtonType="default"
|
cancelButtonType="default"
|
||||||
hideCancel={hasError}
|
hideCancel={hasError}
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import React, { useCallback } from 'react';
|
import React, { useCallback } from 'react';
|
||||||
import { PageContainerFooter } from '../../../../components/ui/page-container';
|
import { PageContainerFooter } from '../../../../components/ui/page-container';
|
||||||
|
|
||||||
import PermissionsConnectFooter from '../../../../components/app/permissions-connect-footer';
|
|
||||||
import { useI18nContext } from '../../../../hooks/useI18nContext';
|
import { useI18nContext } from '../../../../hooks/useI18nContext';
|
||||||
|
|
||||||
import Box from '../../../../components/ui/box/box';
|
import Box from '../../../../components/ui/box/box';
|
||||||
@ -100,9 +98,6 @@ export default function SnapResult({
|
|||||||
alignItems={AlignItems.center}
|
alignItems={AlignItems.center}
|
||||||
flexDirection={FLEX_DIRECTION.COLUMN}
|
flexDirection={FLEX_DIRECTION.COLUMN}
|
||||||
>
|
>
|
||||||
<Box className="snap-install__footer--no-source-code" paddingTop={4}>
|
|
||||||
<PermissionsConnectFooter />
|
|
||||||
</Box>
|
|
||||||
<PageContainerFooter
|
<PageContainerFooter
|
||||||
hideCancel
|
hideCancel
|
||||||
disabled={isLoading}
|
disabled={isLoading}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import React, { useCallback, useState } from 'react';
|
import React, { useCallback, useState } from 'react';
|
||||||
import { PageContainerFooter } from '../../../../components/ui/page-container';
|
import { PageContainerFooter } from '../../../../components/ui/page-container';
|
||||||
import PermissionsConnectFooter from '../../../../components/app/permissions-connect-footer';
|
|
||||||
import { useI18nContext } from '../../../../hooks/useI18nContext';
|
import { useI18nContext } from '../../../../hooks/useI18nContext';
|
||||||
import SnapInstallWarning from '../../../../components/app/flask/snap-install-warning';
|
import SnapInstallWarning from '../../../../components/app/flask/snap-install-warning';
|
||||||
import Box from '../../../../components/ui/box/box';
|
import Box from '../../../../components/ui/box/box';
|
||||||
@ -163,9 +162,6 @@ export default function SnapUpdate({
|
|||||||
alignItems={AlignItems.center}
|
alignItems={AlignItems.center}
|
||||||
flexDirection={FLEX_DIRECTION.COLUMN}
|
flexDirection={FLEX_DIRECTION.COLUMN}
|
||||||
>
|
>
|
||||||
<Box className="snap-update__footer--no-source-code" paddingTop={4}>
|
|
||||||
<PermissionsConnectFooter />
|
|
||||||
</Box>
|
|
||||||
<PageContainerFooter
|
<PageContainerFooter
|
||||||
cancelButtonType="default"
|
cancelButtonType="default"
|
||||||
hideCancel={hasError}
|
hideCancel={hasError}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user