Smol refactor just to verify triggering build on vercel (#38948)
Smol refactor
This commit is contained in:
@@ -18,7 +18,7 @@ interface AddNewFactorModalProps {
|
||||
onClose: () => void
|
||||
}
|
||||
|
||||
const AddNewFactorModal = ({ visible, onClose }: AddNewFactorModalProps) => {
|
||||
export const AddNewFactorModal = ({ visible, onClose }: AddNewFactorModalProps) => {
|
||||
// Generate a name with a number between 0 and 1000
|
||||
const [name, setName] = useState(`App ${Math.floor(Math.random() * 1000)}`)
|
||||
const { data, mutate: enroll, isLoading: isEnrolling, reset } = useMfaEnrollMutation()
|
||||
@@ -216,5 +216,3 @@ const SecondStep = ({
|
||||
</ConfirmationModal>
|
||||
)
|
||||
}
|
||||
|
||||
export default AddNewFactorModal
|
||||
|
||||
@@ -7,7 +7,7 @@ import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader'
|
||||
import { useMfaListFactorsQuery } from 'data/profile/mfa-list-factors-query'
|
||||
import { DATETIME_FORMAT } from 'lib/constants'
|
||||
import { AlertDescription_Shadcn_, AlertTitle_Shadcn_, Alert_Shadcn_, Button } from 'ui'
|
||||
import AddNewFactorModal from './AddNewFactorModal'
|
||||
import { AddNewFactorModal } from './AddNewFactorModal'
|
||||
import DeleteFactorModal from './DeleteFactorModal'
|
||||
|
||||
const TOTPFactors = () => {
|
||||
|
||||
Reference in New Issue
Block a user