🔧 Fixed LoCG pull list scraping
This commit is contained in:
@@ -31,7 +31,7 @@ export const PullList = (): ReactElement => {
|
|||||||
// datepicker
|
// datepicker
|
||||||
const date = new Date();
|
const date = new Date();
|
||||||
const [inputValue, setInputValue] = useState<string>(
|
const [inputValue, setInputValue] = useState<string>(
|
||||||
format(date, "M-dd-yyyy"),
|
format(date, "yyyy/M/dd"),
|
||||||
);
|
);
|
||||||
|
|
||||||
// keen slider
|
// keen slider
|
||||||
@@ -86,8 +86,8 @@ export const PullList = (): ReactElement => {
|
|||||||
<span className="text-md">
|
<span className="text-md">
|
||||||
Pull List aggregated for the week from{" "}
|
Pull List aggregated for the week from{" "}
|
||||||
<span className="underline">
|
<span className="underline">
|
||||||
<a href="https://www.tfaw.com/comics/new-releases.html">
|
<a href="https://leagueofcomicgeeks.com">
|
||||||
Things From Another World
|
League Of Comic Geeks
|
||||||
</a>
|
</a>
|
||||||
<i className="icon-[solar--arrow-right-up-outline] w-4 h-4" />
|
<i className="icon-[solar--arrow-right-up-outline] w-4 h-4" />
|
||||||
</span>
|
</span>
|
||||||
@@ -134,7 +134,7 @@ export const PullList = (): ReactElement => {
|
|||||||
orientation={"vertical-2"}
|
orientation={"vertical-2"}
|
||||||
imageUrl={issue.coverImageUrl}
|
imageUrl={issue.coverImageUrl}
|
||||||
hasDetails
|
hasDetails
|
||||||
title={ellipsize(issue.name, 25)}
|
title={ellipsize(issue.issueName, 25)}
|
||||||
>
|
>
|
||||||
<div className="px-1">
|
<div className="px-1">
|
||||||
<span className="inline-flex mb-2 items-center bg-slate-50 text-slate-800 text-xs font-medium px-2.5 py-1 rounded-md dark:text-slate-900 dark:bg-slate-400">
|
<span className="inline-flex mb-2 items-center bg-slate-50 text-slate-800 text-xs font-medium px-2.5 py-1 rounded-md dark:text-slate-900 dark:bg-slate-400">
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import React, { useState, useEffect } from "react";
|
import React, { useState, useEffect } from "react";
|
||||||
import { AirDCPPSettingsConfirmation } from "./AirDCPPSettingsConfirmation";
|
import { AirDCPPSettingsConfirmation } from "./AirDCPPSettingsConfirmation";
|
||||||
import { ConnectionForm } from "../../shared/ConnectionForm/ConnectionForm";
|
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 axios from "axios";
|
||||||
import {
|
import {
|
||||||
AIRDCPP_SERVICE_BASE_URI,
|
AIRDCPP_SERVICE_BASE_URI,
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ export const DatePickerDialog = (props) => {
|
|||||||
const handleDaySelect = (date) => {
|
const handleDaySelect = (date) => {
|
||||||
setSelected(date);
|
setSelected(date);
|
||||||
if (date) {
|
if (date) {
|
||||||
setter(format(date, "yyyy-MM-dd"));
|
setter(format(date, "yyyy/MM/dd"));
|
||||||
apiAction();
|
apiAction();
|
||||||
closePopper();
|
closePopper();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user