nvalid default value for prop “params“: Props with type Object/Array must use a factory function to

props error


problem is
props array/object’s default values shall be taken by a plant () function returns the

the solution is to change the default default to return

Read More: