From 0cbc3d01343e8ff67d1ef33dca2d27c5484006ec Mon Sep 17 00:00:00 2001 From: hallidayo <22655069+Hallidayo@users.noreply.github.com> Date: Mon, 23 Dec 2024 16:45:40 +0000 Subject: [PATCH] deprecated: alert - migrations (#30725) * changed to use shadcn alert * switch to admonition * deleted unused imports --- .../Database/Migrations/Migrations.tsx | 40 ++++++++++--------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/apps/studio/components/interfaces/Database/Migrations/Migrations.tsx b/apps/studio/components/interfaces/Database/Migrations/Migrations.tsx index 3119bada864..7a3285b3045 100644 --- a/apps/studio/components/interfaces/Database/Migrations/Migrations.tsx +++ b/apps/studio/components/interfaces/Database/Migrations/Migrations.tsx @@ -7,9 +7,10 @@ import Table from 'components/to-be-cleaned/Table' import CodeEditor from 'components/ui/CodeEditor/CodeEditor' import ShimmeringLoader from 'components/ui/ShimmeringLoader' import { DatabaseMigration, useMigrationsQuery } from 'data/database/migrations-query' -import { Alert, Button, Input, SidePanel } from 'ui' +import { Button, Input, SidePanel } from 'ui' import MigrationsEmptyState from './MigrationsEmptyState' import { Search } from 'lucide-react' +import { Admonition } from 'ui-patterns' const Migrations = () => { const [search, setSearch] = useState('') @@ -39,26 +40,27 @@ const Migrations = () => {
+ Try refreshing your browser, but if the issue persists, please reach out to us via + support. +
+Error: {(error as any)?.message ?? 'Unknown'}
+ > + } > -- Try refreshing your browser, but if the issue persists, please reach out to us via - support. -
-Error: {(error as any)?.message ?? 'Unknown'}
-