Skip to content

Commit

Permalink
chore: remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Jan 9, 2024
1 parent 235efea commit c2ebc7c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ export function SideBar(): JSX.Element {
const pagesList = usePagesListObservable();
const preferences = usePreferenceObservable();
const updaterMetaData = useUpdaterObservable();
// DEBUG: console preferences
console.log(`preferences`, preferences);
if (preferences === undefined) return <div>{t('Loading')}</div>;

const { showSideBarText, showSideBarIcon } = preferences;
Expand Down
2 changes: 0 additions & 2 deletions src/pages/Main/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ export default function Main(): JSX.Element {
const { t } = useTranslation();
useInitialPage();
const preferences = usePreferenceObservable();
// DEBUG: console preferences
console.log(`preferences1`, preferences);
if (preferences === undefined) return <div>{t('Loading')}</div>;
const { sidebar } = preferences;

Expand Down

0 comments on commit c2ebc7c

Please sign in to comment.