Skip to content

Commit

Permalink
cleaned logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Yooooomi committed Mar 23, 2024
1 parent 671f560 commit 829570b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
21 changes: 10 additions & 11 deletions apps/client/src/scenes/AlbumStats/AlbumRank/AlbumRank.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { CircularProgress } from '@mui/material';
import clsx from 'clsx';
import { useCallback, useMemo } from 'react';
import InlineAlbum from '../../../components/InlineAlbum';
import Text from '../../../components/Text';
import { api } from '../../../services/apis/api';
import { useLoadAlbums } from '../../../services/hooks/artist';
import { useAPI } from '../../../services/hooks/hooks';
import s from './index.module.css';
import { CircularProgress } from "@mui/material";
import clsx from "clsx";
import { useCallback, useMemo } from "react";
import InlineAlbum from "../../../components/InlineAlbum";
import Text from "../../../components/Text";
import { api } from "../../../services/apis/api";
import { useLoadAlbums } from "../../../services/hooks/artist";
import { useAPI } from "../../../services/hooks/hooks";
import s from "./index.module.css";

interface AlbumRankProps {
albumId: string;
Expand All @@ -22,7 +22,6 @@ export default function AlbumRank({ albumId }: AlbumRankProps) {
const { albums, loaded } = useLoadAlbums(ids);

const getArtist = useCallback((id: string) => albums[id], [albums]);
console.log(albumRank, loaded);
if (!albumRank || !loaded) {
return (
<div className={s.loading}>
Expand Down Expand Up @@ -53,7 +52,7 @@ export default function AlbumRank({ albumId }: AlbumRankProps) {
{albumRank.index +
k +
(albumRank.isMax ? 1 : 0) +
(albumRank.isMin ? -1 : 0)}{' '}
(albumRank.isMin ? -1 : 0)}{" "}
<InlineAlbum album={getArtist(rank.id)!} noStyle />
</div>
))}
Expand Down
1 change: 0 additions & 1 deletion apps/client/src/scenes/LongestSessions/LongestSessions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export default function LongestSessions() {
);

const hasValidSessions = validResults && validResults.length > 0;
console.log(validResults);

return (
<div>
Expand Down

0 comments on commit 829570b

Please sign in to comment.