From 00d0af539d15599dab579d8655a4d8174871e6f8 Mon Sep 17 00:00:00 2001 From: joe-allen-89 <85872286+joe-allen-89@users.noreply.github.com> Date: Thu, 7 Sep 2023 17:55:22 +0100 Subject: [PATCH] Fix: Template naming updated to be consistent with other extensions --- js/CloseNavigationButtonView.js | 2 +- templates/AdaptCloseButton.jsx | 25 ------------------------- 2 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 templates/AdaptCloseButton.jsx diff --git a/js/CloseNavigationButtonView.js b/js/CloseNavigationButtonView.js index 3818008..af538dd 100644 --- a/js/CloseNavigationButtonView.js +++ b/js/CloseNavigationButtonView.js @@ -16,7 +16,7 @@ export default class CloseNavigationButtonView extends NavigationButtonView { } static get template() { - return 'AdaptCloseButton.jsx'; + return 'CloseNavigationButton.jsx'; } className() { diff --git a/templates/AdaptCloseButton.jsx b/templates/AdaptCloseButton.jsx deleted file mode 100644 index b718f01..0000000 --- a/templates/AdaptCloseButton.jsx +++ /dev/null @@ -1,25 +0,0 @@ -import React from 'react'; -import { classes, compile } from 'core/js/reactHelpers'; - -export default function AdaptCloseButton(props) { - const { - text, - _iconClasses - } = props; - return ( - <> -