Skip to content

Commit f3cae70

Browse files
committed
Use Object.values instead of unused destructured key
1 parent cd2fa4c commit f3cae70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/roam/src/utils/migrateLeftSidebarSettings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const migrateLeftSidebarSettings = async () => {
5353

5454
const allPersonalSections = leftSidebarSettings.allPersonalSections;
5555

56-
for (const [_, userPersonalSection] of Object.entries(allPersonalSections)) {
56+
for (const userPersonalSection of Object.values(allPersonalSections)) {
5757
for (const section of userPersonalSection.sections) {
5858
const children = section.children || [];
5959
if (children.length > 0) {

0 commit comments

Comments
 (0)