Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobrunia committed Jan 11, 2025
1 parent d1095cc commit 7147998
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/application/services/useNote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { NoteTool } from '@/domain/entities/Note';
import { useRouter, useRoute } from 'vue-router';
import type { NoteDraft } from '@/domain/entities/NoteDraft';
import type EditorTool from '@/domain/entities/EditorTool';
import useHeader from './useAppNavbar';
import useAppNavbar from './useAppNavbar';
import { getTitle } from '@/infrastructure/utils/note';

/**
Expand Down Expand Up @@ -98,7 +98,7 @@ interface UseNoteComposableOptions {
* @param options - note service options
*/
export default function (options: UseNoteComposableOptions): UseNoteComposableState {
const { patchOpenedPageByUrl } = useHeader();
const { patchOpenedPageByUrl } = useAppNavbar();
/**
* Current note identifier
*/
Expand Down
3 changes: 2 additions & 1 deletion src/presentation/pages/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,10 @@ import { useRouter } from 'vue-router';
import useAuth from '@/application/services/useAuth';
import { useUserSettings } from '@/application/services/useUserSettings';
import { useAppState } from '@/application/services/useAppState';
import { useHead } from 'unhead';
import { ref } from 'vue';
import useAppNavbar from '@/application/services/useAppNavbar';
import ThreeColsLayout from '@/presentation/layouts/ThreeColsLayout.vue';
import { ref } from 'vue';
const { user, userEditorTools } = useAppState();
const { t } = useI18n();
Expand Down

0 comments on commit 7147998

Please sign in to comment.