From f5fa2415f772a86c02a22b848a9e58d6bbef970b Mon Sep 17 00:00:00 2001 From: Maciej Bodek Date: Tue, 10 Oct 2023 17:41:17 +0200 Subject: [PATCH] Update imports --- .../web-console/src/components/CreateTableDialog/index.tsx | 2 +- packages/web-console/src/components/Logo/index.tsx | 2 +- packages/web-console/src/components/Page/index.tsx | 2 +- packages/web-console/src/scenes/Console/Menu/index.tsx | 6 +++--- packages/web-console/src/scenes/Console/index.tsx | 4 ++-- packages/web-console/src/scenes/Layout/index.tsx | 4 ++-- packages/web-console/src/scenes/News/bell.tsx | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/web-console/src/components/CreateTableDialog/index.tsx b/packages/web-console/src/components/CreateTableDialog/index.tsx index 049bc3896..e4aa051d9 100644 --- a/packages/web-console/src/components/CreateTableDialog/index.tsx +++ b/packages/web-console/src/components/CreateTableDialog/index.tsx @@ -2,7 +2,7 @@ import React, { useState } from "react" import { Dialog as TableSchemaDialog } from "../../components/TableSchemaDialog/dialog" import { useDispatch, useSelector } from "react-redux" import { selectors, actions } from "../../store" -import { Table as TableIcon } from "styled-icons/remix-line" +import { Table as TableIcon } from "@styled-icons/remix-line" import { SchemaFormValues } from "components/TableSchemaDialog/types" import { formatTableSchemaQuery } from "../../utils/formatTableSchemaQuery" import { useEditor } from "../../providers" diff --git a/packages/web-console/src/components/Logo/index.tsx b/packages/web-console/src/components/Logo/index.tsx index 1a13d53c2..3b78fbfbd 100644 --- a/packages/web-console/src/components/Logo/index.tsx +++ b/packages/web-console/src/components/Logo/index.tsx @@ -3,7 +3,7 @@ import { useDispatch } from "react-redux" import { actions } from "../../store" import styled from "styled-components" import { color } from "../../utils" -import { Information } from "styled-icons/remix-line" +import { Information } from "@styled-icons/remix-line" import { BUTTON_ICON_SIZE } from "../../consts/index" import { PrimaryToggleButton } from "../../components" diff --git a/packages/web-console/src/components/Page/index.tsx b/packages/web-console/src/components/Page/index.tsx index 7b0ce3931..dd2a7096c 100644 --- a/packages/web-console/src/components/Page/index.tsx +++ b/packages/web-console/src/components/Page/index.tsx @@ -5,7 +5,7 @@ import { PaneMenu } from "../../components/PaneMenu" import { color } from "../../utils" import { Sidebar } from "../../components/Sidebar" import { Logo } from "../../components/Logo" -import { XLg } from "styled-icons/bootstrap" +import { XLg } from "@styled-icons/bootstrap" import { useDispatch } from "react-redux" import { actions } from "../../store" import { Button } from "@questdb/react-components" diff --git a/packages/web-console/src/scenes/Console/Menu/index.tsx b/packages/web-console/src/scenes/Console/Menu/index.tsx index d6d83e75e..ee78a78be 100644 --- a/packages/web-console/src/scenes/Console/Menu/index.tsx +++ b/packages/web-console/src/scenes/Console/Menu/index.tsx @@ -35,9 +35,9 @@ import { Play, Stop, Question, -} from "styled-icons/remix-line" -import { Menu as _MenuIcon } from "styled-icons/remix-fill" -import { Slack } from "styled-icons/boxicons-logos" +} from "@styled-icons/remix-line" +import { Menu as _MenuIcon } from "@styled-icons/remix-fill" +import { Slack } from "@styled-icons/boxicons-logos" import { ErrorButton, diff --git a/packages/web-console/src/scenes/Console/index.tsx b/packages/web-console/src/scenes/Console/index.tsx index e1f67215f..2e0fd4020 100644 --- a/packages/web-console/src/scenes/Console/index.tsx +++ b/packages/web-console/src/scenes/Console/index.tsx @@ -14,8 +14,8 @@ import { selectors, actions } from "../../store" import { Tooltip } from "../../components/Tooltip" import { Sidebar } from "../../components/Sidebar" import { Navigation } from "../../components/Sidebar/navigation" -import { Database2, Grid, PieChart, Upload2 } from "styled-icons/remix-line" -import { ChevronDoubleLeft } from "styled-icons/bootstrap" +import { Database2, Grid, PieChart, Upload2 } from "@styled-icons/remix-line" +import { ChevronDoubleLeft } from "@styled-icons/bootstrap" import { ViewMode } from "./types" import { BUTTON_ICON_SIZE } from "../../consts/index" import { PrimaryToggleButton } from "../../components" diff --git a/packages/web-console/src/scenes/Layout/index.tsx b/packages/web-console/src/scenes/Layout/index.tsx index e169f1343..0bb68853d 100644 --- a/packages/web-console/src/scenes/Layout/index.tsx +++ b/packages/web-console/src/scenes/Layout/index.tsx @@ -36,8 +36,8 @@ import { useSelector } from "react-redux" import { selectors } from "../../store" import News from "../../scenes/News" import { CreateTableDialog } from "../../components/CreateTableDialog" -import { Chat3, Command, Question } from "styled-icons/remix-line" -import { Slack } from "styled-icons/boxicons-logos" +import { Chat3, Command, Question } from "@styled-icons/remix-line" +import { Slack } from "@styled-icons/boxicons-logos" import { PrimaryToggleButton, Text, diff --git a/packages/web-console/src/scenes/News/bell.tsx b/packages/web-console/src/scenes/News/bell.tsx index ba93d87f3..1aa71f32e 100644 --- a/packages/web-console/src/scenes/News/bell.tsx +++ b/packages/web-console/src/scenes/News/bell.tsx @@ -1,5 +1,5 @@ import styled, { css, keyframes } from "styled-components" -import { Notification2 } from "styled-icons/remix-line" +import { Notification2 } from "@styled-icons/remix-line" const angle = "10deg" const swingFrames = keyframes`