mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-22 17:23:50 +01:00
typescript fixes
This commit is contained in:
parent
f50cede2c2
commit
48fc75ec78
@ -25,9 +25,9 @@ export default function ModalThanks(props: any) {
|
|||||||
|
|
||||||
{Object.keys(author)
|
{Object.keys(author)
|
||||||
.filter(key => key === 'bitcoin' || key === 'ether')
|
.filter(key => key === 'bitcoin' || key === 'ether')
|
||||||
.map((address, i) => (
|
.map((address: string, i: number) => (
|
||||||
<div key={i} className={styles.coin}>
|
<div key={i} className={styles.coin}>
|
||||||
<Qr title={address} address={author[address]} />
|
<Qr title={address} address={(author as any)[address]} />
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user