Skip to content

Commit

Permalink
Update Meta.tsx, removed the destructuring of title
Browse files Browse the repository at this point in the history
  • Loading branch information
iqbalcodes6602 authored Jul 12, 2023
1 parent b59dc15 commit 31cfea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/ui/blocks/src/blocks/Meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type MetaProps = BaseAnnotations & { of?: ModuleExports; title?: string };
* This component is used to declare component metadata in docs
* and gets transformed into a default export underneath the hood.
*/
export const Meta: FC<MetaProps> = ({ of, title }) => {
export const Meta: FC<MetaProps> = ({ of }) => {
const context = useContext(DocsContext);
if (of) {
context.referenceMeta(of, true);
Expand Down

0 comments on commit 31cfea1

Please sign in to comment.