Update permission-dialog.tsx

pull/4317/head
Liana Husikyan 12 months ago committed by Aniket
parent f0a98f59d7
commit 074914ac2e
  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