Skip to content

Commit

Permalink
fix: bump for new version
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Jul 21, 2022
1 parent a99f30f commit de2dc87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PageTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ export function PageTabs(): JSX.Element {

const currActiveTabRef = React.useRef<ITabInfo | null>();
const latestTabsRef = useLatest(tabs);
const showSingleTab = logseq.settings["tabs:show-single-tab"];
const showSingleTab = logseq.settings?.["tabs:show-single-tab"];

const onCloseTab = useEventCallback((tab: ITabInfo, force?: boolean) => {
const idx = tabs.findIndex((t) => isTabEqual(t, tab));
Expand Down

0 comments on commit de2dc87

Please sign in to comment.