diff options
author | Anderson Shindy Oki <[email protected]> | 2024-06-07 12:00:42 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2024-06-06 23:00:42 -0400 |
commit | be8f2d6d183e5206f932be1113e0da7db2a2277a (patch) | |
tree | 1bfb7ae673c081ab865cb86b6e59fb7f6a4b88e8 /frontend/src/components/SubtitleToolsMenu.tsx | |
parent | bb8233b599fa0bd8133b092897a4fbcfd736c8cd (diff) | |
download | bazarr-be8f2d6d183e5206f932be1113e0da7db2a2277a.tar.gz bazarr-be8f2d6d183e5206f932be1113e0da7db2a2277a.zip |
Upgraded mantine to v7.xv1.4.4-beta.0
Diffstat (limited to 'frontend/src/components/SubtitleToolsMenu.tsx')
-rw-r--r-- | frontend/src/components/SubtitleToolsMenu.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/components/SubtitleToolsMenu.tsx b/frontend/src/components/SubtitleToolsMenu.tsx index e36a1e9e1..bdadb5cb4 100644 --- a/frontend/src/components/SubtitleToolsMenu.tsx +++ b/frontend/src/components/SubtitleToolsMenu.tsx @@ -148,7 +148,7 @@ const SubtitleToolsMenu: FunctionComponent<Props> = ({ <Menu.Item key={tool.key} disabled={disabledTools} - icon={<FontAwesomeIcon icon={tool.icon}></FontAwesomeIcon>} + leftSection={<FontAwesomeIcon icon={tool.icon}></FontAwesomeIcon>} onClick={() => { if (tool.modal) { modals.openContextModal(tool.modal, { selections }); @@ -164,7 +164,7 @@ const SubtitleToolsMenu: FunctionComponent<Props> = ({ <Menu.Label>Actions</Menu.Label> <Menu.Item disabled={selections.length !== 0 || onAction === undefined} - icon={<FontAwesomeIcon icon={faSearch}></FontAwesomeIcon>} + leftSection={<FontAwesomeIcon icon={faSearch}></FontAwesomeIcon>} onClick={() => { onAction?.("search"); }} @@ -174,7 +174,7 @@ const SubtitleToolsMenu: FunctionComponent<Props> = ({ <Menu.Item disabled={selections.length === 0 || onAction === undefined} color="red" - icon={<FontAwesomeIcon icon={faTrash}></FontAwesomeIcon>} + leftSection={<FontAwesomeIcon icon={faTrash}></FontAwesomeIcon>} onClick={() => { modals.openConfirmModal({ title: "The following subtitles will be deleted", |