1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

fix CI (updated main)

This commit is contained in:
Enzo Vezzaro 2022-06-22 10:20:30 -04:00
parent f460ba7e9d
commit 213454bc81
3 changed files with 6 additions and 5 deletions

View File

@ -1,7 +1,7 @@
import React from 'react' import React from 'react'
import { ComponentStory, ComponentMeta } from '@storybook/react' import { ComponentStory, ComponentMeta } from '@storybook/react'
import FileIcon, { FileIconProps } from '@shared/FileIcon' import FileIcon, { FileIconProps } from '@shared/FileIcon'
import { FileMetadata } from '@oceanprotocol/lib' import { FileInfo } from '@oceanprotocol/lib'
export default { export default {
title: 'Component/@shared/FileIcon', title: 'Component/@shared/FileIcon',
@ -25,17 +25,17 @@ const textFile = {
export const Default: Props = Template.bind({}) export const Default: Props = Template.bind({})
Default.args = { Default.args = {
file: textFile as FileMetadata file: textFile as FileInfo
} }
export const Small: Props = Template.bind({}) export const Small: Props = Template.bind({})
Small.args = { Small.args = {
file: textFile as FileMetadata, file: textFile as FileInfo,
small: true small: true
} }
export const IsLoading: Props = Template.bind({}) export const IsLoading: Props = Template.bind({})
IsLoading.args = { IsLoading.args = {
file: textFile as FileMetadata, file: textFile as FileInfo,
isLoading: true isLoading: true
} }

View File

@ -9,7 +9,7 @@ import { FileInfo } from '@oceanprotocol/lib'
const cx = classNames.bind(styles) const cx = classNames.bind(styles)
export interface FileIconProps { export interface FileIconProps {
file: FileMetadata file: FileInfo
className?: string className?: string
small?: boolean small?: boolean
isLoading?: boolean isLoading?: boolean

View File

@ -10,6 +10,7 @@ import styles from './Details.module.css'
export default function Details(): ReactElement { export default function Details(): ReactElement {
const { const {
web3Provider,
web3ProviderInfo, web3ProviderInfo,
web3Modal, web3Modal,
connect, connect,