Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
haohanyang committed Nov 4, 2024
1 parent 6879789 commit 94b7dc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/QueryEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function QueryEditor({ query, onChange }: Props) {

const onAddDatetimeField = () => {
let format = "";
if (datetimeFormatOption == DatetimeFormat.UnixTimestampMiniseconds || datetimeFormatOption == DatetimeFormat.UnixTimestampSeconds) {
if (datetimeFormatOption === DatetimeFormat.UnixTimestampMiniseconds || datetimeFormatOption === DatetimeFormat.UnixTimestampSeconds) {
format = datetimeFormatOption;
} else {
format = customDatetimeFormatInput;
Expand Down
2 changes: 1 addition & 1 deletion tests/queryEditor.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ test("should return correct datetime", async ({
selectors,
page
}) => {
test.setTimeout(100000)
test.setTimeout(100000);
await initTableWithItems("test", [
{
"t1": { N: "1730408669" }, "t2": { S: "2024-10-31T22:04:29+01:00" },
Expand Down

0 comments on commit 94b7dc7

Please sign in to comment.