Update local testing script and resolve errors
This commit is contained in:
@@ -36,7 +36,12 @@ const RuleStackContainer = memo<RuleStackProps>(({ className = "" }) => {
|
||||
logger.debug(`${templateName} template clicked`);
|
||||
};
|
||||
|
||||
return <RuleStackView className={className} onTemplateClick={handleTemplateClick} />;
|
||||
return (
|
||||
<RuleStackView
|
||||
className={className}
|
||||
onTemplateClick={handleTemplateClick}
|
||||
/>
|
||||
);
|
||||
});
|
||||
|
||||
RuleStackContainer.displayName = "RuleStack";
|
||||
|
||||
@@ -4,5 +4,5 @@ export interface RuleStackProps {
|
||||
|
||||
export interface RuleStackViewProps {
|
||||
className: string;
|
||||
onTemplateClick: (templateName: string) => void;
|
||||
onTemplateClick: (_templateName: string) => void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user