This commit is contained in:
Joshen Lim committed 2022-02-07 17:53:06 +08:00
1 parent 26690aeb66
commit 24573117bb
1 file changed
+1
@@ -53,6 +53,7 @@ const LogPanel: FC<Props> = ({
const [search, setSearch] = useState('')
const [from, setFrom] = useState({ value: '', error: '' })
const [defaultTimestamp, setDefaultTimestamp] = useState(dayjs().utc().toISOString())
// sync local state with provided default value
useEffect(() => {
if (search !== defaultSearchValue) {