From e7c72bc96fde31fd7dfbe9d4ac58ad511c0fd7e5 Mon Sep 17 00:00:00 2001 From: George Marshall Date: Mon, 12 Sep 2022 08:32:09 -0700 Subject: [PATCH] Fixing lint issues (#15782) --- .../collectible-default-image.stories.js | 4 ++-- .../avatar-network/avatar-network.stories.js | 11 ++++++----- .../avatar-token/avatar-token.stories.js | 10 +++++----- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/ui/components/app/collectible-default-image/collectible-default-image.stories.js b/ui/components/app/collectible-default-image/collectible-default-image.stories.js index d4b7a2a69..8439f9ed6 100644 --- a/ui/components/app/collectible-default-image/collectible-default-image.stories.js +++ b/ui/components/app/collectible-default-image/collectible-default-image.stories.js @@ -30,13 +30,13 @@ export const DefaultStory = (args) => ( DefaultStory.storyName = 'Default'; -export const handleImageClick = (args) => ( +export const HandleImageClick = (args) => (
); -handleImageClick.args = { +HandleImageClick.args = { // eslint-disable-next-line no-alert handleImageClick: () => window.alert('CollectibleDefaultImage clicked!'), }; diff --git a/ui/components/component-library/avatar-network/avatar-network.stories.js b/ui/components/component-library/avatar-network/avatar-network.stories.js index b8eafc496..5bef253f1 100644 --- a/ui/components/component-library/avatar-network/avatar-network.stories.js +++ b/ui/components/component-library/avatar-network/avatar-network.stories.js @@ -61,6 +61,7 @@ export default { const Template = (args) => { return ; }; + export const DefaultStory = Template.bind({}); DefaultStory.storyName = 'Default'; @@ -74,15 +75,15 @@ export const Size = (args) => ( ); -export const networkName = Template.bind({}); -networkName.args = { +export const NetworkName = Template.bind({}); +NetworkName.args = { networkImageUrl: '', }; -export const networkImageUrl = Template.bind({}); +export const NetworkImageUrl = Template.bind({}); -export const showHalo = Template.bind({}); -showHalo.args = { +export const ShowHalo = Template.bind({}); +ShowHalo.args = { showHalo: true, }; diff --git a/ui/components/component-library/avatar-token/avatar-token.stories.js b/ui/components/component-library/avatar-token/avatar-token.stories.js index f1400ebd9..b0f8eb1f3 100644 --- a/ui/components/component-library/avatar-token/avatar-token.stories.js +++ b/ui/components/component-library/avatar-token/avatar-token.stories.js @@ -75,15 +75,15 @@ export const Size = (args) => ( ); -export const tokenName = Template.bind({}); -tokenName.args = { +export const TokenName = Template.bind({}); +TokenName.args = { tokenImageUrl: '', }; -export const tokenImageUrl = Template.bind({}); +export const TokenImageUrl = Template.bind({}); -export const showHalo = Template.bind({}); -showHalo.args = { +export const ShowHalo = Template.bind({}); +ShowHalo.args = { showHalo: true, };