@@ -13,6 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { renderInTestApp, TestApiProvider } from '@backstage/test-utils';
|
||||
import { BuildList } from './BuildList';
|
||||
|
||||
@@ -39,8 +39,8 @@ export const BuildList = () => {
|
||||
const tableRef = useRef<any>();
|
||||
|
||||
const initialFilters = {
|
||||
from: DateTime.now().minus({ years: 1 }).toISODate(),
|
||||
to: DateTime.now().toISODate(),
|
||||
from: DateTime.now().minus({ years: 1 }).toISODate()!,
|
||||
to: DateTime.now().toISODate()!,
|
||||
};
|
||||
|
||||
const [filters, setFilters] = useState<BuildFilters>(initialFilters);
|
||||
|
||||
Reference in New Issue
Block a user