Skip to content

Commit

Permalink
fix getDescriptionFromResolvedOf name
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Jan 11, 2023
1 parent 36e6a83 commit 19cba6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/ui/blocks/src/blocks/Description.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const getInfo = (info?: Info) => info && (typeof info === 'string' ? info : str(

const noDescription = (component?: Component): string | null => null;

const getDescriptionFromModuleExport = (resolvedOf: ReturnType<typeof useOf>): string | null => {
const getDescriptionFromResolvedOf = (resolvedOf: ReturnType<typeof useOf>): string | null => {
const { projectAnnotations, ...resolvedModule } = resolvedOf;
switch (resolvedModule.type) {
case 'story': {
Expand Down

0 comments on commit 19cba6e

Please sign in to comment.