mirror of
https://github.com/Funkoala14/CreatorCenter_OOIN.git
synced 2025-06-07 13:38:14 +08:00
Update CreatorList.jsx
This commit is contained in:
parent
166c5f5271
commit
2be18a979d
@ -160,14 +160,14 @@ export default function CreatorList({ path }) {
|
||||
) : (
|
||||
publicCreators.map((creator) => (
|
||||
<tr
|
||||
key={creator.public_id}
|
||||
className={selectedCreators.includes(creator.public_id) ? 'selected' : ''}
|
||||
key={creator.creator_id}
|
||||
className={selectedCreators.includes(creator.creator_id) ? 'selected' : ''}
|
||||
>
|
||||
<td>
|
||||
<Form.Check
|
||||
type='checkbox'
|
||||
checked={selectedCreators.includes(creator.public_id)}
|
||||
onChange={() => handleSelectCreator(creator.public_id)}
|
||||
checked={selectedCreators.includes(creator.creator_id)}
|
||||
onChange={() => handleSelectCreator(creator.creator_id)}
|
||||
/>
|
||||
</td>
|
||||
<td className='creator-cell'>
|
||||
@ -176,7 +176,7 @@ export default function CreatorList({ path }) {
|
||||
<img src={creator.avatar} alt={creator.name} />
|
||||
{creator.status && <span className='verified-badge'></span>}
|
||||
</div>
|
||||
<Link to={`/creator/${creator.public_id}`} className='creator-name'>
|
||||
<Link to={`/creator/${creator.creator_id}`} className='creator-name'>
|
||||
{creator.name}
|
||||
</Link>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user