mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
fixed key issue on Paragraph
This commit is contained in:
parent
f10a1fa2d8
commit
ae93ff065d
1 changed files with 2 additions and 4 deletions
|
@ -17,12 +17,10 @@ const Paragraph: FC<Props> = ({ lines = 3, wordsLimit = 12, ...props }) => {
|
|||
[lines, wordsLimit]
|
||||
);
|
||||
|
||||
console.log({ iters });
|
||||
|
||||
return (
|
||||
<Group>
|
||||
{iters.map(words => (
|
||||
<div className={styles.para}>
|
||||
{iters.map((words, i) => (
|
||||
<div className={styles.para} key={i}>
|
||||
{words.map(word => (
|
||||
<Placeholder key={word} width={`${Math.round(Math.random() * 120) + 60}px`} active />
|
||||
))}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue