Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidRobertAnsart committed May 5, 2024
1 parent b776cf2 commit 19b4f0e
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/activities/ActivityCard/VerseRecordCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { Button } from '@mui/material';

import { CommentIcon } from './CommentIcon';
import type { ActivityCardProps } from './activity-card.types';
import type { ClassAnthemActivity } from 'types/classAnthem.types';
import { RedButton } from 'src/components/buttons/RedButton';
import type { ClassAnthemActivity } from 'types/classAnthem.types';

export const VerseRecordCard = ({ activity, isSelf, noButtons, isDraft, showEditButtons, onDelete }: ActivityCardProps<ClassAnthemActivity>) => (
<div
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from 'react';

import type { ActivityViewProps } from './activity-view.types';
import type { ClassAnthemActivity } from 'types/classAnthem.types';
import { SyllableEditor } from 'src/components/activities/content/editors/SyllableEditor';
import { bgPage } from 'src/styles/variables.const';
import type { ClassAnthemActivity } from 'types/classAnthem.types';

export const VerseActivityView = ({ activity }: ActivityViewProps<ClassAnthemActivity>) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/chanter-un-couplet/1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Backdrop from '@mui/material/Backdrop';
import CircularProgress from '@mui/material/CircularProgress';

import styles from '../../styles/chanter-un-couplet.module.css';
import type { ClassAnthemData } from 'types/classAnthem.types';
import { postMixAudio } from 'src/api/audio/audio-mix.post';
import { deleteAudio } from 'src/api/audio/audio.delete';
import { Base } from 'src/components/Base';
Expand All @@ -18,6 +17,7 @@ import { getLongestVerseSampleDuration, getVerseTracks } from 'src/utils/audios'
import { ActivityStatus } from 'types/activity.type';
import { TrackType } from 'types/anthem.type';
import type { Track } from 'types/anthem.type';
import type { ClassAnthemData } from 'types/classAnthem.types';

const SongStep1 = () => {
const router = useRouter();
Expand Down
2 changes: 1 addition & 1 deletion src/pages/chanter-un-couplet/2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import { useRouter } from 'next/router';
import React from 'react';

import styles from '../../styles/chanter-un-couplet.module.css';
import type { ClassAnthemData } from 'types/classAnthem.types';
import { Base } from 'src/components/Base';
import { Steps } from 'src/components/Steps';
import { StepsButton } from 'src/components/StepsButtons';
import { SyllableEditor } from 'src/components/activities/content/editors/SyllableEditor';
import { AudioPlayer } from 'src/components/audio/AudioPlayer';
import { ActivityContext } from 'src/contexts/activityContext';
import type { Syllable } from 'types/anthem.type';
import type { ClassAnthemData } from 'types/classAnthem.types';

const SongStep2 = () => {
const router = useRouter();
Expand Down
2 changes: 1 addition & 1 deletion src/pages/chanter-un-couplet/3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { useRouter } from 'next/router';
import React from 'react';

import styles from '../../styles/chanter-un-couplet.module.css';
import type { ClassAnthemData } from 'types/classAnthem.types';
import { Base } from 'src/components/Base';
import { Steps } from 'src/components/Steps';
import { StepsButton } from 'src/components/StepsButtons';
Expand All @@ -11,6 +10,7 @@ import { AudioPlayer } from 'src/components/audio/AudioPlayer';
import { ActivityContext } from 'src/contexts/activityContext';
import { toTime } from 'src/utils/toTime';
import { TrackType } from 'types/anthem.type';
import type { ClassAnthemData } from 'types/classAnthem.types';

const SongStep3 = () => {
const router = useRouter();
Expand Down
2 changes: 1 addition & 1 deletion src/pages/chanter-un-couplet/4.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Button from '@mui/material/Button';
import CircularProgress from '@mui/material/CircularProgress';

import styles from '../../styles/chanter-un-couplet.module.css';
import type { ClassAnthemData } from 'types/classAnthem.types';
import { postMixAudio } from 'src/api/audio/audio-mix.post';
import { deleteAudio } from 'src/api/audio/audio.delete';
import { Base } from 'src/components/Base';
Expand All @@ -25,6 +24,7 @@ import { toTime } from 'src/utils/toTime';
import { ActivityStatus } from 'types/activity.type';
import type { Track } from 'types/anthem.type';
import { TrackType } from 'types/anthem.type';
import type { ClassAnthemData } from 'types/classAnthem.types';

const SongStep4 = () => {
const router = useRouter();
Expand Down
2 changes: 1 addition & 1 deletion src/pages/chanter-un-couplet/5.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import Backdrop from '@mui/material/Backdrop';
import Button from '@mui/material/Button';
import CircularProgress from '@mui/material/CircularProgress';

import type { ClassAnthemData } from 'types/classAnthem.types';
import { Base } from 'src/components/Base';
import { Steps } from 'src/components/Steps';
import { StepsButton } from 'src/components/StepsButtons';
import { AudioPlayer } from 'src/components/audio/AudioPlayer';
import { EditButton } from 'src/components/buttons/EditButton';
import { ActivityContext } from 'src/contexts/activityContext';
import { ActivityStatus } from 'types/activity.type';
import type { ClassAnthemData } from 'types/classAnthem.types';

const SongStep5 = () => {
const router = useRouter();
Expand Down
2 changes: 1 addition & 1 deletion src/pages/chanter-un-couplet/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { useRouter } from 'next/router';
import React from 'react';

import type { ClassAnthemData } from 'types/classAnthem.types';
import { Base } from 'src/components/Base';
import { StepsButton } from 'src/components/StepsButtons';
import { AudioPlayer } from 'src/components/audio/AudioPlayer';
Expand All @@ -12,6 +11,7 @@ import type { Activity } from 'types/activity.type';
import { ActivityType } from 'types/activity.type';
import { TrackType } from 'types/anthem.type';
import type { AnthemData, Track } from 'types/anthem.type';
import type { ClassAnthemData } from 'types/classAnthem.types';

const emptyAnthemActivity: AnthemData = {
tracks: [],
Expand Down

0 comments on commit 19b4f0e

Please sign in to comment.