From 2791e7673d9d811fde24edb438cc737de84e471c Mon Sep 17 00:00:00 2001 From: Maciej Ziarkowski Date: Thu, 22 Aug 2019 10:48:37 +0100 Subject: [PATCH] Rename tsx file to follow naming convention --- .../frontend/{ConfirmationModal.css => confirmation-modal.css} | 0 .../frontend/{ConfirmationModal.tsx => confirmation-modal.tsx} | 2 +- app/src/frontend/my-account.tsx | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename app/src/frontend/{ConfirmationModal.css => confirmation-modal.css} (100%) rename app/src/frontend/{ConfirmationModal.tsx => confirmation-modal.tsx} (97%) diff --git a/app/src/frontend/ConfirmationModal.css b/app/src/frontend/confirmation-modal.css similarity index 100% rename from app/src/frontend/ConfirmationModal.css rename to app/src/frontend/confirmation-modal.css diff --git a/app/src/frontend/ConfirmationModal.tsx b/app/src/frontend/confirmation-modal.tsx similarity index 97% rename from app/src/frontend/ConfirmationModal.tsx rename to app/src/frontend/confirmation-modal.tsx index 7ad5be58..abeb3b39 100644 --- a/app/src/frontend/ConfirmationModal.tsx +++ b/app/src/frontend/confirmation-modal.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import './ConfirmationModal.css'; +import './confirmation-modal.css'; interface ConfirmationModalProps { show: boolean, diff --git a/app/src/frontend/my-account.tsx b/app/src/frontend/my-account.tsx index 060ec3c4..4a9d58b3 100644 --- a/app/src/frontend/my-account.tsx +++ b/app/src/frontend/my-account.tsx @@ -3,7 +3,7 @@ import { Link, Redirect } from 'react-router-dom'; import PropTypes from 'prop-types'; import ErrorBox from './error-box'; -import ConfirmationModal from './ConfirmationModal'; +import ConfirmationModal from './confirmation-modal'; class MyAccountPage extends Component { // TODO: add proper types static propTypes = { // TODO: generate propTypes from TS