WARNING: Text content did not match...

/* data.ts /
export const data = [...] // array of items
export const randomNumGen = //Generator function that yields a random number between 0 and max each time. Refer to the image 1
export const data = [...] // array of items
export const randomNumGen = //Generator function that yields a random number between 0 and max each time. Refer to the image 1
/
component.tsx */
import {data, randomNumGen} from './data
export default function Component() {
const cards = []
//populate the cards array with the items in data. Refer to image 2
return (<div>{cards}</div>)
import {data, randomNumGen} from './data
export default function Component() {
const cards = []
//populate the cards array with the items in data. Refer to image 2
return (<div>{cards}</div>)
The returns error/warning: Text Content did not match. Server: ... Client: ... How do I fix it?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server