Skip to content

Commit fcc382b

Browse files
author
Alan Shaw
committed
fix: tweaks
1 parent 0f20ea3 commit fcc382b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app/migration/create/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function ChooseSource ({ config, onNext }: WizardProps) {
6161
<p className='mb-4'>Pick a storage service you want to migrate data from.</p>
6262
<div className='mb-4 text-center'>
6363
{dataSources.map(({ name, logo, source: { id } }) => (
64-
<button className={`bg-white/60 rounded-lg shadow-md p-8 border border-black hover:outline ml-4 first:ml-0 mb-4 ${source === id ? 'outline' : ''}`} type='button' onClick={() => setSource(id)} title={`Migrate from ${name}`}>
64+
<button key={id} className={`bg-white/60 rounded-lg shadow-md p-8 border border-black hover:outline ml-4 first:ml-0 mb-4 ${source === id ? 'outline' : ''}`} type='button' onClick={() => setSource(id)} title={`Migrate from ${name}`}>
6565
{logo}
6666
</button>
6767
))}

src/lib/migrations/web3-storage-psa.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import { DataSourceConfiguration, Reader, Upload } from './api'
1+
import { DataSourceConfiguration, Upload } from './api'
22

33
export const id = 'psa.old.web3.storage'
44

55
export const checkToken = async (token: string) => {
66
throw new Error('not implemented')
77
}
88

9-
export const createReader = (conf: DataSourceConfiguration) => new PSAReader(conf)
9+
export const createReader = (conf: DataSourceConfiguration) => new Reader(conf)
1010

11-
class PSAReader implements Reader {
11+
class Reader {
1212
#token
1313
#cursor
1414
#started

0 commit comments

Comments
 (0)