feat: sync and update with all changes from fork (#720)
* feat: sync and update with all changes from fork * refactor: extract clipboard copy logic into custom hook * fix: correct spelling of DEFAULT_REFRESH_FREQUENCY_MS in Stamps and WalletBalance providers * refactor(ui-tests): replace fixed sleeps with condition-based waits * fix: handle null values for size and granteeCount in infoGroups * fix(lint): add newline at end of file in useClipboardCopy hook * fix(ui-tests): page.goto URL * refactor: update import paths for useClipboardCopy --------- Co-authored-by: Ferenc Sárai <sarai.ferenc@gmail.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { ReactElement, useState, useRef, useCallback } from 'react'
|
||||
import React, { ReactElement, useCallback, useRef, useState } from 'react'
|
||||
import InfoIcon from 'remixicon-react/InformationLineIcon'
|
||||
|
||||
import './Tooltip.scss'
|
||||
|
||||
interface TooltipProps {
|
||||
@@ -82,7 +83,7 @@ export function Tooltip({
|
||||
}
|
||||
: undefined
|
||||
}
|
||||
// eslint-disable-next-line react/no-danger
|
||||
// Safe: label is always from static TOOLTIPS constant or hardcoded strings, never user input
|
||||
dangerouslySetInnerHTML={{ __html: label }}
|
||||
/>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user