Archived
fixed array.map is not a function
This commit is contained in:
1 parent
aa6b10ed55
commit
980fab5ea1
1 file changed
+2
-1
@@ -35,8 +35,9 @@ export const Dashboard = () => {
|
||||
}, []);
|
||||
|
||||
const render = () => {
|
||||
if (!Array.isArray(array)) return;
|
||||
updateList(
|
||||
array?.map((e, i) => {
|
||||
array.map((e, i) => {
|
||||
return (
|
||||
<EventPreviewEdit
|
||||
data={{
|
||||
|
||||
Reference in new issue
Block a user