Skip to content

Commit 6001f5a

Browse files
committed
added more explainer popovers to HTML+MUI, other modules, and add router headers. deleted doubling of classname on createPanel customForm. gave styling to right click cusotmize menu.
1 parent be1a4a5 commit 6001f5a

File tree

2 files changed

+6
-334
lines changed

2 files changed

+6
-334
lines changed

app/src/components/ContextMenu2.tsx

Lines changed: 0 additions & 332 deletions
This file was deleted.

app/src/components/right/ComponentPanel.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,11 @@ const ComponentPanel = ({ setIsCreatingModule, isThemeLight }): JSX.Element => {
156156
};
157157

158158
const keyBindCreateComponent = useCallback((e) => {
159-
if (e.key === 'Enter' && e.target.tagName === 'INPUT' && e.target.type !== 'checkbox') {
159+
if (
160+
e.key === 'Enter' &&
161+
e.target.tagName === 'INPUT' &&
162+
e.target.type !== 'checkbox'
163+
) {
160164
e.preventDefault();
161165
document.getElementById('addComponentButton').click();
162166
}
@@ -188,7 +192,7 @@ const ComponentPanel = ({ setIsCreatingModule, isThemeLight }): JSX.Element => {
188192

189193
return (
190194
<>
191-
<form className="customForm" className={classes.customForm}>
195+
<form className="customForm">
192196
<div className={classes.inputWrapper}>
193197
<TextField
194198
id="AddModule"

0 commit comments

Comments
 (0)