Skip to content

Commit

Permalink
delete enter variable
Browse files Browse the repository at this point in the history
  • Loading branch information
AzielCF committed Feb 2, 2024
1 parent dfdcf41 commit 3cad47c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/stores/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import axios from 'axios';
export const useSearchStore = defineStore('search', () => {
const defaultQuery = 'ocean';
const query = ref(defaultQuery);
const enter = ref(false);
const orientation = ref<'landscape' | 'portrait' | 'square' | undefined>(undefined);

const apiKeyValue = ref(import.meta.env.VITE_PEXELS_API_KEY);
Expand Down Expand Up @@ -64,5 +63,5 @@ export const useSearchStore = defineStore('search', () => {
},
};

return { query, enter, searcher, apiKeyValue, orientation }
return { query, searcher, apiKeyValue, orientation }
})

0 comments on commit 3cad47c

Please sign in to comment.