Skip to content

Commit 0c79587

Browse files
committed
add isLoading prop to card tabs component
1 parent bcabf69 commit 0c79587

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/features/decoder/components/decoded-header-output.component.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export const DecodedHeaderOutputComponent: React.FC<
3838
);
3939

4040
const decodedHeader$ = useDecoderStore((state) => state.decodedHeader);
41+
const isLoading = useDecoderStore((state) => state.isLoading)
4142

4243
const cards: CardComponentProps[] = [
4344
{
@@ -105,6 +106,7 @@ export const DecodedHeaderOutputComponent: React.FC<
105106
initialTabId={decodedHeaderInitialTabId}
106107
languageCode={languageCode}
107108
title={dictionary.title}
109+
isLoading={isLoading}
108110
cards={cards}
109111
handleTabChange={setDecodedHeaderTabValue$}
110112
/>

0 commit comments

Comments
 (0)