fix console errors
- no "==" operator - no javascript in href - no "div" tags nested in "p" - replace "value" prop with "checked" for Form.Checkbox component
This commit is contained in:
@@ -63,7 +63,7 @@ function MemberInfo(props) {
|
||||
<Table.Cell>Shelf:</Table.Cell>
|
||||
<Table.Cell>
|
||||
{user.storage.length ?
|
||||
user.storage.sort((a, b) => a.location == 'member_shelves' ? -1 : 1).map((x, i) =>
|
||||
user.storage.sort((a, b) => a.location === 'member_shelves' ? -1 : 1).map((x, i) =>
|
||||
<StorageButton storage={x} />
|
||||
)
|
||||
:
|
||||
|
||||
Reference in New Issue
Block a user