| @@ -177,8 +177,9 @@ | ||
| 177 | 177 | }, |
| 178 | 178 | enabled: can("yatra_view_trips"), |
| 179 | 179 | }); |
| 180 | 180 | |
| 181 | + // eslint-disable-next-line react-hooks/exhaustive-deps | |
| 181 | 182 | const attributes = attributesData?.data || []; |
| 182 | 183 | const total = attributesData?.total || 0; |
| 183 | 184 | const totalPages = Math.ceil(total / 10); |
| 184 | 185 | const errorContext = getErrorContext(error); |