From 44778b1f6b4ad047c037735479410f70f8c67c3d Mon Sep 17 00:00:00 2001 From: MihirGore23 Date: Wed, 28 Aug 2024 23:29:13 +0530 Subject: [PATCH] Update react-component names --- .../{DigClassRR.js => DigitClassifierRR.js} | 6 +++--- .../css/{DigClassMain.css => DigitClassifierRR.css} | 0 .../exercises/dl_digit_classifier_newmanager/exercise.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename exercises/static/exercises/dl_digit_classifier_newmanager/react-components/{DigClassRR.js => DigitClassifierRR.js} (55%) rename exercises/static/exercises/dl_digit_classifier_newmanager/react-components/css/{DigClassMain.css => DigitClassifierRR.css} (100%) diff --git a/exercises/static/exercises/dl_digit_classifier_newmanager/react-components/DigClassRR.js b/exercises/static/exercises/dl_digit_classifier_newmanager/react-components/DigitClassifierRR.js similarity index 55% rename from exercises/static/exercises/dl_digit_classifier_newmanager/react-components/DigClassRR.js rename to exercises/static/exercises/dl_digit_classifier_newmanager/react-components/DigitClassifierRR.js index dcc0c28f0..9ea053e8e 100644 --- a/exercises/static/exercises/dl_digit_classifier_newmanager/react-components/DigClassRR.js +++ b/exercises/static/exercises/dl_digit_classifier_newmanager/react-components/DigitClassifierRR.js @@ -1,9 +1,9 @@ import * as React from "react"; import {Fragment} from "react"; -import "./css/DigClassMain.css"; +import "./css/DigitClassifierRR.css"; -const DigClassMain = (props) => { +const DigitClassifierRR = (props) => { return ( {props.children} @@ -11,4 +11,4 @@ const DigClassMain = (props) => { ); }; -export default DigClassMain; \ No newline at end of file +export default DigitClassifierRR; diff --git a/exercises/static/exercises/dl_digit_classifier_newmanager/react-components/css/DigClassMain.css b/exercises/static/exercises/dl_digit_classifier_newmanager/react-components/css/DigitClassifierRR.css similarity index 100% rename from exercises/static/exercises/dl_digit_classifier_newmanager/react-components/css/DigClassMain.css rename to exercises/static/exercises/dl_digit_classifier_newmanager/react-components/css/DigitClassifierRR.css diff --git a/exercises/templates/exercises/dl_digit_classifier_newmanager/exercise.html b/exercises/templates/exercises/dl_digit_classifier_newmanager/exercise.html index ee442fd83..211c8b795 100644 --- a/exercises/templates/exercises/dl_digit_classifier_newmanager/exercise.html +++ b/exercises/templates/exercises/dl_digit_classifier_newmanager/exercise.html @@ -5,7 +5,7 @@ {% endblock %} {% block react-content %} - {% react_component exercise/dl_digit_classifier_newmanager/FollowLineRR %} + {% react_component exercise/dl_digit_classifier_newmanager/DigitClassifierRR %} {% react_component components/wrappers/MaterialBox id="exercise-container" %} {% if deployment %}