File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed
src/features/instance/applications/modals Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ import { useInstanceClientIdParams } from '@/config/useInstanceClient';
1818import { isDirectory } from '@/features/instance/applications/context/isDirectory' ;
1919import { useEditorView } from '@/features/instance/applications/hooks/useEditorView' ;
2020import { useSetComponentFile } from '@/features/instance/operations/mutations/setComponentFile' ;
21- import { useSetWatchedValue , useWatchedValue } from '@/lib/events/watcher' ;
2221import { excludeFalsy } from '@/lib/arrays/excludeFalsy' ;
22+ import { useSetWatchedValue , useWatchedValue } from '@/lib/events/watcher' ;
2323import { zodResolver } from '@hookform/resolvers/zod' ;
24- import { Ban , Plus } from 'lucide-react' ;
24+ import { Plus } from 'lucide-react' ;
2525import { useCallback } from 'react' ;
2626import { useForm } from 'react-hook-form' ;
2727import z from 'zod' ;
@@ -123,8 +123,8 @@ export function AddDirectoryOrFileModal() {
123123
124124 < DialogFooter >
125125 < div className = "flex justify-between w-full" >
126- < Button type = "button" variant = "destructiveOutline " className = "rounded-full" onClick = { onCancelClick } >
127- < Ban /> Cancel
126+ < Button type = "button" variant = "ghostOutline " className = "rounded-full" onClick = { onCancelClick } >
127+ Cancel
128128 </ Button >
129129 < Button
130130 variant = "positiveOutline"
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { isDirectory } from '@/features/instance/applications/context/isDirector
55import { useEditorView } from '@/features/instance/applications/hooks/useEditorView' ;
66import { useDropComponent } from '@/features/instance/operations/mutations/dropComponent' ;
77import { setWatchedValue , useSetWatchedValue , useWatchedValue } from '@/lib/events/watcher' ;
8- import { Ban , Trash } from 'lucide-react' ;
8+ import { Trash } from 'lucide-react' ;
99import { MouseEvent , useCallback } from 'react' ;
1010
1111export function DeleteDirectoryOrFileModal ( ) {
@@ -66,7 +66,7 @@ export function DeleteDirectoryOrFileModal() {
6666
6767 < div className = "flex w-full gap-4" >
6868 < Button variant = "ghostOutline" className = "w-full rounded-full" onClick = { closeModal } >
69- < Ban /> Cancel
69+ Cancel
7070 </ Button >
7171 < Button
7272 variant = "destructiveOutline"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { useEditorView } from '@/features/instance/applications/hooks/useEditorV
1212import { useDeployComponentMutation } from '@/features/instance/operations/mutations/deployComponent' ;
1313import { setWatchedValue , useWatchedValue } from '@/lib/events/watcher' ;
1414import { useQueryClient } from '@tanstack/react-query' ;
15- import { Ban , RefreshCwIcon } from 'lucide-react' ;
15+ import { RefreshCwIcon } from 'lucide-react' ;
1616import { useCallback , useEffect } from 'react' ;
1717import { useForm } from 'react-hook-form' ;
1818import { toast } from 'sonner' ;
@@ -144,12 +144,12 @@ export function RedeployApplicationModal() {
144144 </ Button >
145145 < Button
146146 type = "button"
147- variant = "default "
147+ variant = "ghostOutline "
148148 className = "w-full rounded-full"
149149 onClick = { modalClosed }
150150 disabled = { isPending }
151151 >
152- < Ban /> Cancel
152+ Cancel
153153 </ Button >
154154 </ form >
155155 </ Form >
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import { useRenameFiles } from '@/features/instance/applications/hooks/useRename
1919import { useSetWatchedValue , useWatchedValue } from '@/lib/events/watcher' ;
2020import { renameFileInPath } from '@/lib/string/paths/renameFileInPath' ;
2121import { zodResolver } from '@hookform/resolvers/zod' ;
22- import { Ban , PencilIcon } from 'lucide-react' ;
22+ import { PencilIcon } from 'lucide-react' ;
2323import { useCallback , useEffect , useState } from 'react' ;
2424import { useForm } from 'react-hook-form' ;
2525import z from 'zod' ;
@@ -112,8 +112,8 @@ export function RenameFileModal() {
112112
113113 < DialogFooter >
114114 < div className = "flex justify-between w-full" >
115- < Button type = "button" variant = "destructiveOutline " className = "rounded-full" onClick = { onCancelClick } >
116- < Ban /> Cancel
115+ < Button type = "button" variant = "ghostOutline " className = "rounded-full" onClick = { onCancelClick } >
116+ Cancel
117117 </ Button >
118118 < Button
119119 variant = "positiveOutline"
You can’t perform that action at this time.
0 commit comments