Skip to content

Commit

Permalink
correções de link para deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
LelePG committed May 25, 2024
1 parent c7abdc8 commit 59719d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/home/SearchForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface SearchFormProps {
children: any;
}

export default function ({ setSongs, children }: SearchFormProps) {
export default function SearchForm({ setSongs, children }: SearchFormProps) {
const [title, setTitle] = useState("");
const [artist, setArtist] = useState("");
const { addError } = useErrorMessage();
Expand Down
2 changes: 1 addition & 1 deletion src/components/song/Song.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function Song({ title, artist, lyrics, difficulty }: SongProps) {
const song = new SongModel(lyrics, difficulty);

const allLines = song.formattedSong?.map((line, lineIndex) => {
return <SongLine line={line} lineIndex={lineIndex} />;
return <SongLine line={line} lineIndex={lineIndex} key={lineIndex} />;
});

return (
Expand Down

0 comments on commit 59719d0

Please sign in to comment.