From 0e445ba3d44fdafba86e56ff284e188066d4dd64 Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Tue, 6 May 2025 18:17:30 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Fixed=20LoCG=20pull=20list=20scr?= =?UTF-8?q?aping?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/components/Dashboard/PullList.tsx | 8 ++++---- .../Settings/AirDCPPSettings/AirDCPPSettingsForm.tsx | 2 +- src/client/components/shared/DatePicker.tsx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/client/components/Dashboard/PullList.tsx b/src/client/components/Dashboard/PullList.tsx index 8e475c7..eb3ae00 100644 --- a/src/client/components/Dashboard/PullList.tsx +++ b/src/client/components/Dashboard/PullList.tsx @@ -31,7 +31,7 @@ export const PullList = (): ReactElement => { // datepicker const date = new Date(); const [inputValue, setInputValue] = useState( - format(date, "M-dd-yyyy"), + format(date, "yyyy/M/dd"), ); // keen slider @@ -86,8 +86,8 @@ export const PullList = (): ReactElement => { Pull List aggregated for the week from{" "} - - Things From Another World + + League Of Comic Geeks @@ -134,7 +134,7 @@ export const PullList = (): ReactElement => { orientation={"vertical-2"} imageUrl={issue.coverImageUrl} hasDetails - title={ellipsize(issue.name, 25)} + title={ellipsize(issue.issueName, 25)} >
diff --git a/src/client/components/Settings/AirDCPPSettings/AirDCPPSettingsForm.tsx b/src/client/components/Settings/AirDCPPSettings/AirDCPPSettingsForm.tsx index 44f1794..14654b5 100644 --- a/src/client/components/Settings/AirDCPPSettings/AirDCPPSettingsForm.tsx +++ b/src/client/components/Settings/AirDCPPSettings/AirDCPPSettingsForm.tsx @@ -1,7 +1,7 @@ import React, { useState, useEffect } from "react"; import { AirDCPPSettingsConfirmation } from "./AirDCPPSettingsConfirmation"; import { ConnectionForm } from "../../shared/ConnectionForm/ConnectionForm"; -import { useMutation, useQuery } from "@tanstack/react-query"; +import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query"; import axios from "axios"; import { AIRDCPP_SERVICE_BASE_URI, diff --git a/src/client/components/shared/DatePicker.tsx b/src/client/components/shared/DatePicker.tsx index 4a94d92..a398596 100644 --- a/src/client/components/shared/DatePicker.tsx +++ b/src/client/components/shared/DatePicker.tsx @@ -36,7 +36,7 @@ export const DatePickerDialog = (props) => { const handleDaySelect = (date) => { setSelected(date); if (date) { - setter(format(date, "yyyy-MM-dd")); + setter(format(date, "yyyy/MM/dd")); apiAction(); closePopper(); } else {