1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-27 00:30:09 +02:00

fix dropdown btn

This commit is contained in:
Kushagra Gour
2024-07-08 14:18:46 +05:30
parent 9b9d5705cf
commit f461ba972d
2 changed files with 1 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ const DropdownMenu = ({
return ( return (
<div className="dropdown"> <div className="dropdown">
<button <button
type="button"
ref={triggerRef} ref={triggerRef}
onClick={toggleDropdown} onClick={toggleDropdown}
aria-haspopup="true" aria-haspopup="true"

View File

@@ -1248,7 +1248,6 @@ export default class App extends Component {
saveHtmlBtnClickHandler(inlineAssets) { saveHtmlBtnClickHandler(inlineAssets) {
saveAsHtml(this.state.currentItem, { inlineAssets }); saveAsHtml(this.state.currentItem, { inlineAssets });
trackEvent('ui', 'saveHtmlClick'); trackEvent('ui', 'saveHtmlClick');
e.preventDefault();
} }
runBtnClickHandler() { runBtnClickHandler() {
this.contentWrap.setPreviewContent(true, true); this.contentWrap.setPreviewContent(true, true);