Skip to content

Commit

Permalink
reactor rename ElementWizard -> ModComponentFormStateWizard
Browse files Browse the repository at this point in the history
  • Loading branch information
mnholtz committed Jun 18, 2024
1 parent ada21d2 commit 783e97d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const WizardNavItem: React.FunctionComponent<{
* @see EditorTabLayout
* @see RecipePane
*/
const ElementWizard: React.FunctionComponent<{
const ModComponentFormStateWizard: React.FunctionComponent<{
modComponentFormState: ModComponentFormState;
}> = ({ modComponentFormState }) => {
const [step, setStep] = useState(wizard[0].step);
Expand Down Expand Up @@ -129,4 +129,4 @@ const ElementWizard: React.FunctionComponent<{
);
};

export default ElementWizard;
export default ModComponentFormStateWizard;
4 changes: 2 additions & 2 deletions src/pageEditor/panes/EditorPane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import ErrorBoundary from "@/components/ErrorBoundary";
// eslint-disable-next-line no-restricted-imports -- TODO: Fix over time
import { Formik } from "formik";
import Effect from "@/components/Effect";
import ElementWizard from "@/pageEditor/ElementWizard";
import ModComponentFormStateWizard from "@/pageEditor/ModComponentFormStateWizard";
import { logActions } from "@/components/logViewer/logSlice";
import { type ModComponentFormState } from "@/pageEditor/starterBricks/formStateTypes";
import {
Expand Down Expand Up @@ -70,7 +70,7 @@ const EditorPaneContent: React.VoidFunctionComponent<{
onChange={syncReduxState}
delayMillis={CHANGE_DETECT_DELAY_MILLIS}
/>
<ElementWizard modComponentFormState={element} />
<ModComponentFormStateWizard modComponentFormState={element} />
</IntegrationsSliceModIntegrationsContextAdapter>
);
};
Expand Down

0 comments on commit 783e97d

Please sign in to comment.