Skip to content

Commit

Permalink
[C-2592] Fix edit playlist (#3443)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Shanks authored May 26, 2023
1 parent 875054a commit f4ad5f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export const EditPlaylistScreen = () => {
if (!playlist) return null

const initialValues: EditPlaylistValues = {
...playlist,
playlist_name: playlist.playlist_name,
description: playlist.description,
artwork: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export const FormScreen = (props: FormScreenProps) => {
}, [navigation, onReset])

const handleSubmit = useCallback(() => {
console.log({ onSubmit })
onSubmit?.()
if (goBackOnSubmit) {
navigation.goBack()
Expand Down

0 comments on commit f4ad5f7

Please sign in to comment.