feat: i18n better locale error handling (#949)

This commit is contained in:
Daniel Lautzenheiser
2023-10-24 12:41:14 -04:00
committed by GitHub
parent f29a5f36c8
commit a31a47bc7f
10 changed files with 294 additions and 55 deletions

View File

@ -79,6 +79,7 @@ const ToolbarButton: FC<ToolbarButtonProps> = ({
<Button
key="button"
aria-label={label ?? tooltip}
title={label ?? tooltip}
variant="text"
data-testid={`toolbar-button-${label ?? tooltip}`.replace(' ', '-').toLowerCase()}
onClick={handleOnClick}