Skip to content

Commit

Permalink
Update showcases/patternhub/scripts/utils.js
Browse files Browse the repository at this point in the history
Co-authored-by: Maximilian Franzke <[email protected]>
  • Loading branch information
nmerget and mfranzke authored Jul 8, 2024
1 parent bb72e55 commit 36213d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion showcases/patternhub/scripts/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export const getCodeByFramework = (
tag = `db-${componentName}`;
}

if (componentName === 'img' || componentName === 'a') {
if (['a', 'img'].includes(componentName)) {
tag = componentName;
}

Expand Down

0 comments on commit 36213d2

Please sign in to comment.