{
+ if (isExpanded || isShowCloseDialog) {
+ return;
+ }
+ setIsShowCloseButton(true);
+ }}
+ onMouseLeave={() => setIsShowCloseButton(false)}
+ onClick={() => {
+ if (isShowCloseDialog) {
+ return;
+ }
+ setIsShowCloseButton(false);
+ onClick();
+ }}
+ >
+
+ {!dataLoaded && (
+
+ {isExpanded ? i18n.fetchingDAppInfo : ''}
+
+ )}
+
{
+ event.stopPropagation();
+ setIsShowCloseButton(false);
+ showCloseDialog();
+ }}
+ >
+
+
+
+ );
+}
+
+function SecurityInfoRow({
+ title,
+ children,
+}: {
+ title: string;
+ children: any;
+}) {
+ return (
+