Update permission-dialog.tsx

pull/5370/head
Liana Husikyan 12 months ago committed by Aniket
parent 0ed1dd7117
commit 1601a511b5
  1. 4
      libs/remix-ui/permission-handler/src/lib/permission-dialog.tsx

@ -19,11 +19,11 @@ const PermissionHandlerDialog = (props: PermissionHandlerProps) => {
}
const imgFrom = () => {
if (!from.icon || from.icon === '') from.icon = "/assets/img/unknownPluginIcon.webp"
if (!from.icon || from.icon === '') from.icon = "/assets/img/pluginManager.webp"
return <img className={`opacity(0.5);`} alt="" id="permissionModalImagesFrom" src={from.icon} />
}
const imgTo = () => {
if (!to.icon || to.icon === '') to.icon = "/assets/img/unknownPluginIcon.webp"
if (!to.icon || to.icon === '') to.icon = "/assets/img/pluginManager.webp"
return <img className={`opacity(0.5);`} alt="" id="permissionModalImagesTo" src={to.icon} />
}
const pluginsImages = () => {

Loading…
Cancel
Save