You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The component is then called via <DecentralisedRenderer certificate={document} source={renderer} /> with the document being the raw string of the .opencert file selected and source being the renderer URL.
The iframe shows "This is the OpenAttestation default renderer" instead of my custom renderer.
The console.log for "UPDATE_TEMPLATES" is as follows. {type: 'UPDATE_TEMPLATES', payload: Array(1), meta: undefined} meta: undefined payload: Array(1) 0: {id: 'default-template', label: 'Default', type: 'custom-template'} length: 1 [[Prototype]]: Array(0) type: "UPDATE_TEMPLATES" [[Prototype]]: Object
How can I set my custom template and renderer any certificate on my site? FE is running on react js.
The text was updated successfully, but these errors were encountered:
I have created a renderer and hosted it, the renderer is working on opencerts.io.
Now I am trying to use to show the rendered any certificate on my own FE.
The code I use is as follows.
DecentralisedRenderer.js
The component is then called via
<DecentralisedRenderer certificate={document} source={renderer} />
with the document being the raw string of the .opencert file selected and source being the renderer URL.The iframe shows "This is the OpenAttestation default renderer" instead of my custom renderer.
The console.log for "UPDATE_TEMPLATES" is as follows.
{type: 'UPDATE_TEMPLATES', payload: Array(1), meta: undefined} meta: undefined payload: Array(1) 0: {id: 'default-template', label: 'Default', type: 'custom-template'} length: 1 [[Prototype]]: Array(0) type: "UPDATE_TEMPLATES" [[Prototype]]: Object
How can I set my custom template and renderer any certificate on my site? FE is running on react js.
The text was updated successfully, but these errors were encountered: