Skip to content

Commit ecbe9cb

Browse files
committed
Get rid of unused variable
clean up
1 parent f55a236 commit ecbe9cb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sampleApp/sample.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ const renderDropdown = (globalProps: GlobalProps, notebooks: Notebook[]) => {
3131
);
3232
};
3333

34-
3534
oneNoteDataProvider.getNotebooks().then((notebooks) => {
3635
for (let i = 0; i < notebooks.length; i++) {
3736
OneNoteItemUtils.prune(notebooks[i]);
@@ -41,7 +40,6 @@ oneNoteDataProvider.getNotebooks().then((notebooks) => {
4140

4241
const initialSelectedId = '0-752C1AAF7737895C!515';
4342
OneNoteItemUtils.expandTo(notebooks, item => item.id === initialSelectedId);
44-
let dropdownLabel = '';
4543

4644
const globalProps: GlobalProps = {
4745
globals: {
@@ -120,4 +118,4 @@ oneNoteDataProvider.getNotebooks().then((notebooks) => {
120118
export function findItemName(notebooks, itemid) {
121119
let notebook = OneNoteItemUtils.find(notebooks, item => item.id === itemid);
122120
return notebook ? notebook.name : '';
123-
}
121+
}

0 commit comments

Comments
 (0)