Skip to content

Commit

Permalink
Merge pull request #357 from yieldprotocol/sabnock/remove-lowercase-c…
Browse files Browse the repository at this point in the history
…heck

chore: remove lower-case check
  • Loading branch information
brucedonovan authored Jul 24, 2023
2 parents fe1a103 + de073d1 commit c8cc5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/experimental_/MessageTranslator_.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export const Widget = (props: WidgetProps) => {
const widgets = new Map<string, JSX.Element>();

const { name, params, variant } = props.widget;
const fnName = name.toLowerCase().replace('display-', '');
const fnName = name.replace('display-', '');
const parsedArgs = parseArgs(params);

console.log('WIDGET: ', `${fnName}(${params})`);
Expand Down

0 comments on commit c8cc5c7

Please sign in to comment.