Skip to content

Commit 4f993a4

Browse files
psychedelicioushipsterusername
authored andcommitted
fix(ui): TS issue with latest i18n deps
1 parent 0158320 commit 4f993a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invokeai/frontend/web/src/common/components/InformationalPopover/InformationalPopover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const Content = ({ data, feature, hideDisable }: ContentProps) => {
8989

9090
const paragraphs = useMemo<string[]>(
9191
() =>
92-
t(`popovers.${feature}.paragraphs`, {
92+
t<string, { returnObjects: true }, string[]>(`popovers.${feature}.paragraphs`, {
9393
returnObjects: true,
9494
}) ?? [],
9595
[feature, t]

0 commit comments

Comments
 (0)