refactor: replace 'sonner' toast import with local toast component (#177)

This commit is contained in:
Bohdan Triapitsyn
2026-01-19 02:50:40 +02:00
committed by GitHub
parent 28d9324735
commit ce1622b1e2
34 changed files with 87 additions and 32 deletions
@@ -2,7 +2,7 @@ import React from 'react';
import { Button } from '@/components/ui/button';
import { Input } from '@/components/ui/input';
import { Textarea } from '@/components/ui/textarea';
import { toast } from 'sonner';
import { toast } from '@/components/ui';
import { useCommandsStore, type CommandConfig, type CommandScope } from '@/stores/useCommandsStore';
import { RiCheckLine, RiInformationLine, RiSaveLine, RiTerminalBoxLine, RiUser3Line, RiFolderLine } from '@remixicon/react';
import { cn } from '@/lib/utils';
@@ -2,7 +2,7 @@ import React from 'react';
import { Button } from '@/components/ui/button';
import { ButtonLarge } from '@/components/ui/button-large';
import { Input } from '@/components/ui/input';
import { toast } from 'sonner';
import { toast } from '@/components/ui';
import {
Dialog,
DialogContent,