mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
chore(ui): lint
This commit is contained in:
committed by
Kent Keirsey
parent
97013e08ef
commit
bd0aabb064
@@ -17,8 +17,16 @@ export const StagingAreaToolbarToggleShowResultsButton = memo(() => {
|
||||
|
||||
return (
|
||||
<IconButton
|
||||
tooltip={shouldShowStagedImage ? t('controlLayers.stagingArea.showResultsOn') : t('controlLayers.stagingArea.showResultsOff')}
|
||||
aria-label={shouldShowStagedImage ? t('controlLayers.stagingArea.showResultsOn') : t('controlLayers.stagingArea.showResultsOff')}
|
||||
tooltip={
|
||||
shouldShowStagedImage
|
||||
? t('controlLayers.stagingArea.showResultsOn')
|
||||
: t('controlLayers.stagingArea.showResultsOff')
|
||||
}
|
||||
aria-label={
|
||||
shouldShowStagedImage
|
||||
? t('controlLayers.stagingArea.showResultsOn')
|
||||
: t('controlLayers.stagingArea.showResultsOff')
|
||||
}
|
||||
data-alert={!shouldShowStagedImage}
|
||||
icon={shouldShowStagedImage ? <PiEyeBold /> : <PiEyeSlashBold />}
|
||||
onClick={toggleShowResults}
|
||||
|
||||
Reference in New Issue
Block a user