Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}, []);
const handleExit = React.useCallback(() => {
setTooltipVisibility(false);
}, []);
return (
{
// @ts-ignore
}
{showTooltip ? (
) : null}
);
};
{isHovered => (
{
// @ts-ignore
}
)}
const revisionUrl = build.getMetaUrl('revision');
const dispatch = useDispatch();
const handleClose = React.useCallback(() => {
dispatch(setFocusedRevision(undefined));
}, [dispatch]);
const handleRemove = React.useCallback(() => {
dispatch(removeComparedRevision(focusedRevision));
}, [dispatch, focusedRevision]);
return (
const axis = axisBottom(scale).tickFormat(d => formatSha(d));
select(ref.current)
const defaultFormatRevision = (cell: RevisionCell): string => formatSha(cell.revision);
const defaultFormatRevisionDelta = (cell: RevisionDeltaCell): string => `Δ${cell.deltaIndex}`;