mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 10:23:33 +00:00
log -> error, remove unnecesary logs
This commit is contained in:
parent
fb584b35a9
commit
63e3b97bca
10 changed files with 9 additions and 12 deletions
|
|
@ -17,7 +17,7 @@ const RouteErrorBoundary = () => {
|
|||
const { t } = useTranslation();
|
||||
const navigate = useNavigate();
|
||||
const error = useRouteError() as any;
|
||||
console.log('error', error);
|
||||
console.error('error', error);
|
||||
|
||||
const handleReload = () => {
|
||||
navigate(0);
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ export const useSongLyricsBySong = (
|
|||
apiClientProps: { server, signal },
|
||||
query: { songId: song.id },
|
||||
})
|
||||
.catch((err) => console.log(err));
|
||||
.catch((err) => console.error(err));
|
||||
|
||||
if (jfLyrics) {
|
||||
localLyrics = {
|
||||
|
|
|
|||
|
|
@ -207,7 +207,7 @@ export const PlaylistDetailSongListContent = ({ songs, tableRef }: PlaylistDetai
|
|||
const currentPageStartIndex = pagination.currentPage * pagination.itemsPerPage;
|
||||
event.api?.ensureIndexVisible(currentPageStartIndex, 'top');
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
console.error(err);
|
||||
}
|
||||
|
||||
setPagination(playlistId, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue