Skip to content

Commit efeb53d

Browse files
committed
fix type issue
1 parent 25006e0 commit efeb53d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/fern-docs/components/src/navigation/NavigationStorage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export class NavigationStorage {
192192

193193
const currentBranches = currentBranchNames.map((key) => this.getStore(key));
194194

195-
return currentBranches;
195+
return currentBranches.filter((snapshot) => snapshot !== null) as NavigationSnapshot[];
196196
}
197197
}
198198

0 commit comments

Comments
 (0)