chore(deps): bump all (#294)

This commit is contained in:
Julian Tölle 2023-09-16 13:02:19 +02:00 committed by GitHub
parent 1979d924c9
commit 38cf2ff549
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
69 changed files with 4681 additions and 3804 deletions

View file

@ -13,7 +13,7 @@ export const AuthApiTokens: React.FC = () => {
const { apiTokens, isLoading, createToken, revokeToken } = useApiTokens();
const sortedTokens = useMemo(
() => apiTokens.sort((a, b) => (a.createdAt > b.createdAt ? -1 : 1)),
[apiTokens]
[apiTokens],
);
requireUser();
@ -97,7 +97,7 @@ const NewTokenForm: React.FC<{
createToken,
setNewToken,
setNewTokenDescription,
]
],
);
return (

View file

@ -111,7 +111,7 @@ const Pagination: React.FC<{
>
...
</div>
)
),
)}
<button
className={`${

View file

@ -23,7 +23,7 @@ export const ReportListens: React.FC = () => {
const { requireUser } = useAuthProtection();
const [timeFrame, setTimeFrame] = useState<"day" | "week" | "month" | "year">(
"day"
"day",
);
const [timeOptions, setTimeOptions] = useState<TimeOptions>({
@ -34,7 +34,7 @@ export const ReportListens: React.FC = () => {
const reportOptions = useMemo(
() => ({ timeFrame, time: timeOptions }),
[timeFrame, timeOptions]
[timeFrame, timeOptions],
);
const { report, isLoading } = useListensReport(reportOptions);
@ -59,7 +59,7 @@ export const ReportListens: React.FC = () => {
className="block appearance-none min-w-full md:win-w-0 md:w-1/4 bg-white dark:bg-gray-700 border border-gray-400 hover:border-gray-500 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:text-gray-200 p-2 rounded shadow leading-tight focus:outline-none focus:ring"
onChange={(e) =>
setTimeFrame(
e.target.value as "day" | "week" | "month" | "year"
e.target.value as "day" | "week" | "month" | "year",
)
}
>
@ -163,7 +163,7 @@ const ReportGraph: React.FC<{
};
const shortDateFormatFromTimeFrame = (
timeFrame: "day" | "week" | "month" | "year"
timeFrame: "day" | "week" | "month" | "year",
): string => {
const FORMAT_DAY = "P";
const FORMAT_WEEK = "'Week' w yyyy";
@ -186,7 +186,7 @@ const shortDateFormatFromTimeFrame = (
};
const dateFormatFromTimeFrame = (
timeFrame: "day" | "week" | "month" | "year"
timeFrame: "day" | "week" | "month" | "year",
): string => {
const FORMAT_DAY = "PPPP";
const FORMAT_WEEK = "'Week starting on' PPPP";

View file

@ -22,7 +22,7 @@ export const ReportTopAlbums: React.FC = () => {
() => ({
time: timeOptions,
}),
[timeOptions]
[timeOptions],
);
const { topAlbums, isLoading } = useTopAlbums(options);

View file

@ -21,7 +21,7 @@ export const ReportTopArtists: React.FC = () => {
() => ({
time: timeOptions,
}),
[timeOptions]
[timeOptions],
);
const { topArtists, isLoading } = useTopArtists(options);

View file

@ -25,7 +25,7 @@ export const ReportTopGenres: React.FC = () => {
() => ({
time: timeOptions,
}),
[timeOptions]
[timeOptions],
);
const { topGenres, isLoading } = useTopGenres(options);

View file

@ -22,7 +22,7 @@ export const ReportTopTracks: React.FC = () => {
() => ({
time: timeOptions,
}),
[timeOptions]
[timeOptions],
);
const { topTracks, isLoading } = useTopTracks(options);