File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 11import React , { useState , useEffect } from 'react' ;
22import { Link } from 'react-router-dom' ;
3- import { ArrowLeftIcon , CaretDown , CaretUp } from '@phosphor-icons/react' ;
3+ import { ArrowLeftIcon , CaretDown , CaretUp , X } from '@phosphor-icons/react' ;
44import LogCard from '../components/LogCard' ;
55import ColorLegends , { categoryStyles } from '../components/ColorLegends' ;
66import usePageTitle from '../utils/usePageTitle' ;
@@ -166,6 +166,12 @@ const LogsPage = () => {
166166 value = { searchQuery }
167167 onChange = { ( e ) => setSearchQuery ( e . target . value ) }
168168 />
169+ < button
170+ className = "ml-2 p-3 border border-red-400 bg-primary-500 text-white rounded-md transition-colors duration-200 hover:bg-red-500 focus:outline-none flex items-center justify-center"
171+ onClick = { ( ) => setSearchQuery ( '' ) }
172+ >
173+ < X size = { 20 } weight = "bold" />
174+ </ button >
169175 </ div >
170176 </ div >
171177 ) } < div
You can’t perform that action at this time.
0 commit comments