mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-04-20 10:05:56 +00:00
fix reading publishes
This commit is contained in:
parent
0e97ee83a1
commit
1394bb349b
@ -109,7 +109,8 @@ export const handleUnencryptedPublishes = (publishes) => {
|
||||
let publishesData = []
|
||||
publishes.forEach((pub)=> {
|
||||
try {
|
||||
const decodedData = JSON.parse(atob(pub))
|
||||
const decryptToUnit8Array = base64ToUint8Array(pub);
|
||||
const decodedData = uint8ArrayToObject(decryptToUnit8Array);
|
||||
if(decodedData){
|
||||
publishesData.push({decryptedData: decodedData})
|
||||
}
|
||||
|
@ -440,7 +440,6 @@ export const VideoPlayer: React.FC<VideoPlayerProps> = ({
|
||||
}
|
||||
}
|
||||
|
||||
console.log('tester', startPlay, resourceStatus?.status, src )
|
||||
return (
|
||||
<VideoContainer
|
||||
tabIndex={0}
|
||||
|
Loading…
x
Reference in New Issue
Block a user