Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
aleganza committed Jul 8, 2024
1 parent 5d33acb commit fd5de4c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
1 change: 0 additions & 1 deletion src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ const createWindow = async () => {
};

ipcMain.handle('get-is-packaged', async () => {
console.log(app.isPackaged);
return app.isPackaged;
});

Expand Down
12 changes: 3 additions & 9 deletions src/renderer/components/AnimeEntry.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
import './styles/AnimeEntry.css';

import { faCalendar, faCircleDot } from '@fortawesome/free-regular-svg-icons';
import { faHourglass1, faTv } from '@fortawesome/free-solid-svg-icons';
import { faTv } from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { useEffect, useState } from 'react';
import Skeleton from 'react-loading-skeleton';

import {
getAvailableEpisodes,
getParsedFormat,
getParsedSeasonYear,
getTitle,
} from '../../modules/utils';
import { getAvailableEpisodes, getParsedFormat, getParsedSeasonYear, getTitle } from '../../modules/utils';
import { ListAnimeData } from '../../types/anilistAPITypes';
import AnimeModal from './modals/AnimeModal';
import Skeleton from 'react-loading-skeleton';
import { AnimeModalWatchButtons } from './modals/AnimeModalElements';

const StatusDot: React.FC<{
listAnimeData?: ListAnimeData | undefined;
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/AnimeSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const AnimeSection: React.FC<AnimeSectionProps> = ({ title, animeData }) => {
};

return (
<section onMouseEnter={handleMouseEnter} onMouseLeave={handleMouseLeave}>
<section onMouseEnter={handleMouseEnter} onMouseLeave={handleMouseLeave} id={`${title.toLowerCase().replace(' ', '-')}-section`}>
<h1>{title}</h1>
{enableButtons && (
<div
Expand Down

0 comments on commit fd5de4c

Please sign in to comment.