Skip to content

Commit

Permalink
Update code/ui/blocks/src/blocks/Primary.tsx
Browse files Browse the repository at this point in the history
Specify 'meta' as the only valid type for useOf

Co-authored-by: Jeppe Reinhold <[email protected]>
  • Loading branch information
Wilson2k and JReinhold authored Oct 16, 2023
1 parent e3d4e1d commit 9198f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/ui/blocks/src/blocks/Primary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const Primary: FC<PrimaryProps> = (props) => {

let story;
if (of) {
const resolvedOf = useOf(of || 'meta');
const resolvedOf = useOf(of || 'meta', ['meta']);
story = getPrimaryFromResolvedOf(resolvedOf);
}

Expand Down

0 comments on commit 9198f30

Please sign in to comment.