From e3a3a472299329ce59ab6820f72ca9e19e3e433c Mon Sep 17 00:00:00 2001 From: Keith Grant Date: Mon, 11 May 2020 15:51:35 -0700 Subject: [PATCH] delete unused file --- .../components/LaunchPrompt/PromptFooter.jsx | 67 ------------------- 1 file changed, 67 deletions(-) delete mode 100644 awx/ui_next/src/components/LaunchPrompt/PromptFooter.jsx diff --git a/awx/ui_next/src/components/LaunchPrompt/PromptFooter.jsx b/awx/ui_next/src/components/LaunchPrompt/PromptFooter.jsx deleted file mode 100644 index 1c56c0b66a..0000000000 --- a/awx/ui_next/src/components/LaunchPrompt/PromptFooter.jsx +++ /dev/null @@ -1,67 +0,0 @@ -import React from 'react'; -import { - WizardFooter, - WizardContextConsumer, - Button, -} from '@patternfly/react-core'; -import { withI18n } from '@lingui/react'; -import { t } from '@lingui/macro'; - -const STEPS = { - INVENTORY: 'inventory', - CREDENTIALS: 'credentials', - PASSWORDS: 'passwords', - OTHER_PROMPTS: 'other', - SURVEY: 'survey', - PREVIEW: 'preview', -}; - -export function PromptFooter({ firstStep, i18n }) { - return ( - - - {({ - activeStep, - goToStepByName, - goToStepById, - onNext, - onBack, - onClose, - }) => { - if (activeStep.name !== STEPS.PREVIEW) { - return ( - <> - - - - - ); - } - return ( - <> - - - - ); - }} - - - ); -} - -export { PromptFooter as _PromptFooter }; -export default withI18n()(PromptFooter);