1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

remove bars components

This commit is contained in:
Fedor Katurov 2023-11-19 17:07:58 +06:00
parent 92efb1e97e
commit 8ec77986bf
7 changed files with 13 additions and 3 deletions

View file

@ -1,8 +1,9 @@
import React, { FC } from 'react';
import { SubmitBarSSR } from '~/components/bars/SubmitBar/ssr';
import { Authorized } from '~/components/containers/Authorized';
import { SubmitBarSSR } from './components/SubmitBar/ssr';
interface IProps {
prefix?: string;
isLab?: boolean;

View file

@ -1,12 +1,21 @@
import React, { VFC } from 'react';
import { PlayerBar } from '~/components/bars/PlayerBar';
import { useAudioPlayer } from '~/utils/providers/AudioPlayerProvider';
import { PlayerBar } from './components/PlayerBar';
interface PlayerViewProps {}
const PlayerView: VFC<PlayerViewProps> = () => {
const { file, play, toPercent: seek, stop, pause, status, progress } = useAudioPlayer();
const {
file,
play,
toPercent: seek,
stop,
pause,
status,
progress,
} = useAudioPlayer();
return (
<PlayerBar