Looks good for now, but the component should be rewritten to move all logic related to priority to useMediaData.tsx. Ideally, the hook should return an object which contains all prepared information. Component should just render the result
type: image | video | audio | pdf
url: string | base64 string
Looks good for now, but the component should be rewritten to move all logic related to priority to useMediaData.tsx. Ideally, the hook should return an object which contains all prepared information. Component should just render the result