1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Fixing lint issues (#15782)

This commit is contained in:
George Marshall 2022-09-12 08:32:09 -07:00 committed by GitHub
parent 34e2faaf49
commit e7c72bc96f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 12 deletions

View File

@ -30,13 +30,13 @@ export const DefaultStory = (args) => (
DefaultStory.storyName = 'Default'; DefaultStory.storyName = 'Default';
export const handleImageClick = (args) => ( export const HandleImageClick = (args) => (
<div style={{ width: 200, height: 200 }}> <div style={{ width: 200, height: 200 }}>
<CollectibleDefaultImage {...args} /> <CollectibleDefaultImage {...args} />
</div> </div>
); );
handleImageClick.args = { HandleImageClick.args = {
// eslint-disable-next-line no-alert // eslint-disable-next-line no-alert
handleImageClick: () => window.alert('CollectibleDefaultImage clicked!'), handleImageClick: () => window.alert('CollectibleDefaultImage clicked!'),
}; };

View File

@ -61,6 +61,7 @@ export default {
const Template = (args) => { const Template = (args) => {
return <AvatarNetwork {...args} />; return <AvatarNetwork {...args} />;
}; };
export const DefaultStory = Template.bind({}); export const DefaultStory = Template.bind({});
DefaultStory.storyName = 'Default'; DefaultStory.storyName = 'Default';
@ -74,15 +75,15 @@ export const Size = (args) => (
</Box> </Box>
); );
export const networkName = Template.bind({}); export const NetworkName = Template.bind({});
networkName.args = { NetworkName.args = {
networkImageUrl: '', networkImageUrl: '',
}; };
export const networkImageUrl = Template.bind({}); export const NetworkImageUrl = Template.bind({});
export const showHalo = Template.bind({}); export const ShowHalo = Template.bind({});
showHalo.args = { ShowHalo.args = {
showHalo: true, showHalo: true,
}; };

View File

@ -75,15 +75,15 @@ export const Size = (args) => (
</Box> </Box>
); );
export const tokenName = Template.bind({}); export const TokenName = Template.bind({});
tokenName.args = { TokenName.args = {
tokenImageUrl: '', tokenImageUrl: '',
}; };
export const tokenImageUrl = Template.bind({}); export const TokenImageUrl = Template.bind({});
export const showHalo = Template.bind({}); export const ShowHalo = Template.bind({});
showHalo.args = { ShowHalo.args = {
showHalo: true, showHalo: true,
}; };