Skip to content

Commit

Permalink
chore: 🤖 Fix-up merge: rel=#68 What seem to be a merge and rebase slip
Browse files Browse the repository at this point in the history
  • Loading branch information
renoirb committed Oct 30, 2024
1 parent 347ce78 commit d87665b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
6 changes: 0 additions & 6 deletions components/blog/BlogListModelByYear.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
class="no-underline"
:to="{
path: `/blog/${inThatYear[0]}`,
query: { q: q ? q : undefined },
}"
>
<h2 class="my-4 font-serif text-2xl italic">{{ inThatYear[0] }}</h2>
Expand Down Expand Up @@ -76,7 +75,6 @@
}
export interface Props {
contents: INuxtContentResult[]
q: string
showYear: boolean
}
export default Vue.extend<Data, Methods, Computed, Props>({
Expand All @@ -86,10 +84,6 @@
type: Array,
default: () => [],
},
q: {
type: String,
default: '',
},
showYear: {
type: Boolean,
default: true,
Expand Down
3 changes: 0 additions & 3 deletions lib/model/content/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,6 @@ export const queryNuxtContent = async (
month?: string,
): Promise<INuxtContentResult[]> => {
let contents: INuxtContentResult[] = []
const { query = {} as Context['route']['query'] } = route
let { q = '' } = query
q = typeof q === 'string' ? q : ''
/**
* Bookmarks:
* - https://github.com/techfort/LokiJS/wiki/Query-Examples#find-queries
Expand Down

0 comments on commit d87665b

Please sign in to comment.