Browse Source

Rename modal component

master
jeffvli 3 years ago
parent
commit
479c482533
  1. 2
      src/App.tsx
  2. 0
      src/components/modal/Modal.tsx
  3. 2
      src/components/modal/ReleaseNotes.tsx
  4. 2
      src/components/player/PlayerBar.tsx

2
src/App.tsx

@ -20,7 +20,7 @@ import ArtistList from './components/library/ArtistList';
import GenreList from './components/library/GenreList'; import GenreList from './components/library/GenreList';
import { MockFooter } from './components/settings/styled'; import { MockFooter } from './components/settings/styled';
import { useAppSelector } from './redux/hooks'; import { useAppSelector } from './redux/hooks';
import { PageModal } from './components/modal/PageModal'; import { PageModal } from './components/modal/Modal';
import NowPlayingMiniView from './components/player/NowPlayingMiniView'; import NowPlayingMiniView from './components/player/NowPlayingMiniView';
import { GlobalContextMenu } from './components/shared/ContextMenu'; import { GlobalContextMenu } from './components/shared/ContextMenu';
import SearchView from './components/search/SearchView'; import SearchView from './components/search/SearchView';

0
src/components/modal/PageModal.tsx → src/components/modal/Modal.tsx

2
src/components/modal/ReleaseNotes.tsx

@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react';
import settings from 'electron-settings'; import settings from 'electron-settings';
import { shell } from 'electron'; import { shell } from 'electron';
import axios from 'axios'; import axios from 'axios';
import { InfoModal } from './PageModal'; import { InfoModal } from './Modal';
import { StyledButton } from '../shared/styled'; import { StyledButton } from '../shared/styled';
import { ConfigPanel } from '../settings/styled'; import { ConfigPanel } from '../settings/styled';

2
src/components/player/PlayerBar.tsx

@ -35,7 +35,7 @@ import {
import { apiController } from '../../api/controller'; import { apiController } from '../../api/controller';
import { Artist, Server } from '../../types'; import { Artist, Server } from '../../types';
import { notifyToast } from '../shared/toast'; import { notifyToast } from '../shared/toast';
import { InfoModal } from '../modal/PageModal'; import { InfoModal } from '../modal/Modal';
import { setPlaylistRate } from '../../redux/playlistSlice'; import { setPlaylistRate } from '../../redux/playlistSlice';
import useGetLyrics from '../../hooks/useGetLyrics'; import useGetLyrics from '../../hooks/useGetLyrics';
import usePlayerControls from '../../hooks/usePlayerControls'; import usePlayerControls from '../../hooks/usePlayerControls';

Loading…
Cancel
Save