Skip to content

Commit

Permalink
fix: download image
Browse files Browse the repository at this point in the history
  • Loading branch information
Raul Andrade committed Mar 6, 2022
1 parent d77d915 commit 5ce3e17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/features/picture/picture.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export const Picture = ({
onclone: (document) => {
const button = document.getElementById('download')
const subtitle = document.getElementById('subtitle')
console.log(subtitle)
if (button && subtitle) {
button.style.visibility = 'hidden'
subtitle.style.visibility = 'hidden'
Expand Down
5 changes: 2 additions & 3 deletions src/features/playlist/playlist.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Toaster } from 'react-hot-toast'

import { MAX_RANDOM_FY_ITEMS } from '../../constants'
import { Recommendation } from 'types'
import { PrimaryButton, PrimaryText, SubTitle } from 'components'
import { PrimaryButton, PrimaryText } from 'components'
import { usePlaylistMutation } from 'queries'

type PlaylistProps = {
Expand All @@ -19,8 +19,7 @@ export const Playlist = ({

return artists.length === MAX_RANDOM_FY_ITEMS ? (
<Fragment>
<div className="p-4 max-w-5xl my-0 mx-auto" id="subtitle">
<SubTitle></SubTitle>
<div className="p-4 max-w-5xl my-0 mx-auto">
<PrimaryText>You can make a randomfy playlist!</PrimaryText>
</div>
<div
Expand Down

1 comment on commit 5ce3e17

@vercel
Copy link

@vercel vercel bot commented on 5ce3e17 Mar 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.