Skip to content

Commit 775489a

Browse files
committed
iterate
1 parent e5c6957 commit 775489a

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/plugins/drivelistmanager.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,7 @@ export function DriveInputComponent({
4040
placeholder="Enter drive name"
4141
value={value}
4242
/>
43-
<Button
44-
className="input-add-drive-button"
45-
onClick={() => {
46-
onSubmit();
47-
setPublicDrive('');
48-
}}
49-
>
43+
<Button className="input-add-drive-button" onClick={onSubmit}>
5044
add
5145
</Button>
5246
</div>
@@ -168,10 +162,8 @@ export function DriveListManagerComponent({ model }: IProps) {
168162
}, [model]);
169163

170164
const onAddedPublicDrive = async () => {
171-
console.log(publicDrive);
172165
await addPublicDrive(publicDrive);
173166
setPublicDrive('');
174-
console.log('publicDrve: ', publicDrive);
175167
await model.refresh();
176168
};
177169

0 commit comments

Comments
 (0)