File tree Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -64,16 +64,16 @@ export function DriveSwitcher() {
6464 } ) ) ,
6565 DIVIDER ,
6666 // Dedupe history from savedDrives bause not all savedDrives might be loaded yet.
67- ...Array . from ( dedupeAFromB ( historyMap , savedDrivesMap ) ) . map (
68- ( [ subject , resource ] ) => ( {
67+ ...Array . from ( dedupeAFromB ( historyMap , savedDrivesMap ) )
68+ . map ( ( [ subject , resource ] ) => ( {
6969 label : getTitle ( resource ) ,
7070 id : subject ,
7171 helper : `Switch to ${ getTitle ( resource ) } ` ,
7272 icon : subject === drive ? < FaRegCheckCircle /> : < FaRegCircle /> ,
7373 onClick : buildHandleHistoryDriveClick ( subject ) ,
7474 disabled : subject === drive ,
75- } ) ,
76- ) ,
75+ } ) )
76+ . slice ( 0 , 10 ) ,
7777 DIVIDER ,
7878 {
7979 id : 'configure-drives' ,
Original file line number Diff line number Diff line change 3535 "tsc" : " tsc --build" ,
3636 "typecheck" : " tsc --noEmit"
3737 },
38- "typedoc" : {
39- "entryPoint" : " ./src/index.ts" ,
40- "readmeFile" : " ./README.md"
41- },
4238 "source" : " src/index.ts" ,
4339 "type" : " module" ,
4440 "types" : " dist/src/index.d.ts" ,
Original file line number Diff line number Diff line change 3030 "tsc" : " tsc --build" ,
3131 "typecheck" : " tsc --noEmit"
3232 },
33- "typedoc" : {
34- "entryPoint" : " ./src/index.ts" ,
35- "readmeFile" : " ./README.md"
36- },
3733 "source" : " src/index.ts" ,
3834 "type" : " module" ,
3935 "types" : " dist/src/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments