From 3d4ca027d70f8600caff78600ab7db4e101af04d Mon Sep 17 00:00:00 2001 From: stdavis Date: Mon, 4 Nov 2024 15:28:23 -0700 Subject: [PATCH] feat: add clear selection button --- src/components/ResultsGrid.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/ResultsGrid.tsx b/src/components/ResultsGrid.tsx index b730be8..6d8c77d 100644 --- a/src/components/ResultsGrid.tsx +++ b/src/components/ResultsGrid.tsx @@ -1,5 +1,5 @@ import { useQuery } from '@tanstack/react-query'; -import { Spinner, useFirebaseAuth } from '@ugrc/utah-design-system'; +import { Button, Spinner, useFirebaseAuth } from '@ugrc/utah-design-system'; import { User } from 'firebase/auth'; import ky from 'ky'; import { useEffect, useState } from 'react'; @@ -155,6 +155,14 @@ export default function ResultsGrid() { {' '} | Selected: {selectedKeys === 'all' ? data?.length : selectedKeys.size} + )}