Swap functionality of new folder and open text buttons in App.tsx
This commit is contained in:
16
src/App.tsx
16
src/App.tsx
@@ -1412,12 +1412,12 @@ export default function App() {
|
|||||||
<div className="sidebar__footer">
|
<div className="sidebar__footer">
|
||||||
<button
|
<button
|
||||||
className="icon-button"
|
className="icon-button"
|
||||||
onClick={handleNewFolder}
|
onClick={handleOpenText}
|
||||||
aria-label="New folder"
|
aria-label="Open text"
|
||||||
title="New folder"
|
title="Open text"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<img src={newFolderIconSrc} alt="" className="icon-button__img" />
|
<img src={openFileIconSrc} alt="" className="icon-button__img" />
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
className="icon-button"
|
className="icon-button"
|
||||||
@@ -1430,12 +1430,12 @@ export default function App() {
|
|||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
className="icon-button"
|
className="icon-button"
|
||||||
onClick={handleOpenText}
|
onClick={handleNewFolder}
|
||||||
aria-label="Open text"
|
aria-label="New folder"
|
||||||
title="Open text"
|
title="New folder"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<img src={openFileIconSrc} alt="" className="icon-button__img" />
|
<img src={newFolderIconSrc} alt="" className="icon-button__img" />
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
className="icon-button"
|
className="icon-button"
|
||||||
|
|||||||
Reference in New Issue
Block a user