Skip to content

Commit 7e73b42

Browse files
committed
fix: move createFolder back to same spot
1 parent b27ca78 commit 7e73b42

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/elements/content-explorer/ContentExplorer.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,6 +1171,16 @@ class ContentExplorer extends Component<ContentExplorerProps, State> {
11711171
);
11721172
};
11731173

1174+
/**
1175+
* Creates a new folder
1176+
*
1177+
* @private
1178+
* @return {void}
1179+
*/
1180+
createFolder = (): void => {
1181+
this.throttledCreateFolderCallback();
1182+
};
1183+
11741184
/**
11751185
* New folder callback
11761186
*
@@ -1240,16 +1250,6 @@ class ContentExplorer extends Component<ContentExplorerProps, State> {
12401250
*/
12411251
throttledCreateFolderCallback = throttle(this.createFolderCallback, 500);
12421252

1243-
/**
1244-
* Creates a new folder
1245-
*
1246-
* @private
1247-
* @return {void}
1248-
*/
1249-
createFolder = (): void => {
1250-
this.throttledCreateFolderCallback();
1251-
};
1252-
12531253
/**
12541254
* Selects the clicked file and then shares it
12551255
*

0 commit comments

Comments
 (0)