Add Share to Context menus, also share artist

This commit is contained in:
Deluan committed 2023-01-24 18:36:47 -05:00
1 parent 051e9c556d
commit 433da37982
5 files changed
+50 -8

No files matched your search

+4 -1
View File
@@ -12,7 +12,7 @@ import {
useNotify,
useTranslate,
} from 'react-admin'
import { useState } from 'react'
import { useEffect, useState } from 'react'
import { shareUrl } from '../utils'
import { useTranscodingOptions } from './useTranscodingOptions'
import { useDispatch, useSelector } from 'react-redux'
@@ -26,6 +26,9 @@ export const ShareDialog = () => {
const notify = useNotify()
const translate = useTranslate()
const [description, setDescription] = useState('')
useEffect(() => {
setDescription('')
}, [ids])
const { TranscodingOptionsInput, format, maxBitRate, originalFormat } =
useTranscodingOptions()
const [createShare] = useCreate(