File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
resources/js/pages/settings Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import InputError from '@/components/input-error';
22import AppLayout from '@/layouts/app-layout' ;
33import SettingsLayout from '@/layouts/settings/layout' ;
44import { type BreadcrumbItem } from '@/types' ;
5- import { Transition } from '@headlessui/react' ;
65import { Head , useForm } from '@inertiajs/react' ;
76import { FormEventHandler , useRef } from 'react' ;
87
@@ -110,15 +109,13 @@ export default function Password() {
110109 < div className = "flex items-center gap-4" >
111110 < Button disabled = { processing } > Save password</ Button >
112111
113- < Transition
114- show = { recentlySuccessful }
115- enter = "transition ease-in-out"
116- enterFrom = "opacity-0"
117- leave = "transition ease-in-out"
118- leaveTo = "opacity-0"
112+ < p
113+ className = { `text-sm text-neutral-600 transition-opacity duration-500 ${
114+ recentlySuccessful ? 'opacity-100' : 'opacity-0'
115+ } `}
119116 >
120- < p className = "text-sm text-neutral-600" > Saved</ p >
121- </ Transition >
117+ Saved
118+ </ p >
122119 </ div >
123120 </ form >
124121 </ div >
You can’t perform that action at this time.
0 commit comments