Skip to content

Commit

Permalink
ts fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fuziontech committed Jan 31, 2024
1 parent 8bf6eca commit 65d7150
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion frontend/src/pages/Backups/ScheduledBackups.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ import {
Tooltip,
notification,
} from 'antd'
import { DeleteOutlined, EditOutlined } from '@ant-design/icons'
import DeleteOutlined from '@ant-design/icons/DeleteOutlined'
import EditOutlined from '@ant-design/icons/EditOutlined'
import { Clusters } from '../Clusters/Clusters'
import useSWR, { mutate } from 'swr'

Expand All @@ -30,6 +31,7 @@ interface ScheduleRow {
schedule: string
incremental_schedule: string
table: string
is_sharded: boolean
database: string
bucket: string
path: string
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Overview/Overview.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useEffect, useState } from 'react'
import { Line } from '@ant-design/charts'
import { Card, Col, Row, Tooltip, notification } from 'antd'
import InfoCircleOutlined from '@ant-design/icons'
import InfoCircleOutlined from '@ant-design/icons/InfoCircleOutlined'
import { clickhouseTips } from './tips'
import useSWR from 'swr'

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/QueryEditor/QueryEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'prismjs/components/prism-sql'
import 'prismjs/themes/prism.css'
import Editor from 'react-simple-code-editor'
import { v4 as uuidv4 } from 'uuid'
import SaveOutlined from '@ant-design/icons'
import SaveOutlined from '@ant-design/icons/SaveOutlined'

function CreateSavedQueryModal({
modalOpen = false,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/QueryEditor/SavedQueries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Table, Button, Row, Col, Tooltip } from 'antd'
import React, { useEffect, useState } from 'react'
import { ColumnType } from 'antd/es/table'
import SavedQuery from './SavedQuery'
import ReloadOutlined from '@ant-design/icons'
import ReloadOutlined from '@ant-design/icons/ReloadOutlined'
import { useHistory } from 'react-router-dom'
import { isoTimestampToHumanReadable } from '../../utils/dateUtils'

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/SlowQueries/MetricsTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react'
import { Line } from '@ant-design/plots'
// @ts-ignore
import { Card, Col, Row, Tooltip, notification } from 'antd'
import InfoCircleOutlined from '@ant-design/icons'
import InfoCircleOutlined from '@ant-design/icons/InfoCircleOutlined'
import { NoDataSpinner, QueryDetailData } from './QueryDetail'

export default function MetricsTab({ query_hash }: { query_hash: string }) {
Expand Down

0 comments on commit 65d7150

Please sign in to comment.