Skip to content

Commit

Permalink
fix: change naming to useMarketplace
Browse files Browse the repository at this point in the history
  • Loading branch information
medvalna committed Nov 19, 2023
1 parent c51b993 commit 664471f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { marketplaceService } from '@/domain';
/**
* Composable for the application state
*/
interface UseEditorToolComposable {
interface UseMarketplaceComposable {
/**
* All editor tools that are used in notes creation
*/
Expand All @@ -15,7 +15,7 @@ interface UseEditorToolComposable {
/**
* Application service for working with the Editor Tools
*/
export default function (): UseEditorToolComposable {
export default function (): UseMarketplaceComposable {
/**
* All editor tools
*/
Expand Down
5 changes: 3 additions & 2 deletions src/presentation/pages/Marketplace.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
</template>

<script setup lang="ts">
import useEditorTools from '@/application/services/useEditorTool';
import useMarketplace from '@/application/services/useMarketplace';
const { tools } = useEditorTools();
const { tools } = useMarketplace();
</script>

<style setup lang = "postcss" scoped>
Expand All @@ -26,3 +26,4 @@ h1 {
@apply --text-heading-1;
}
</style>
@/application/services/useMarketplace

0 comments on commit 664471f

Please sign in to comment.