Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Commit bc4543d

Browse files
committed
fix: revert change made to test next year's yeartext and pushed to live accidentally
1 parent 52f9adc commit bc4543d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/stores/jw.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,7 @@ export const useJwStore = defineStore('jw-store', {
204204
const currentYear = new Date().getFullYear();
205205
this.yeartexts[currentYear] ??= {};
206206
if (!this.yeartexts[currentYear][currentLang]) {
207-
const yeartextRequest = await getYeartext(
208-
currentLang,
209-
currentYear + 1,
210-
);
207+
const yeartextRequest = await getYeartext(currentLang, currentYear);
211208
if (yeartextRequest?.content) {
212209
this.yeartexts[currentYear][currentLang] = sanitizeHtml(
213210
yeartextRequest.content,

0 commit comments

Comments
 (0)