Skip to content

Commit a0f3f2d

Browse files
update OktaConfigForm to use Provider type
1 parent 705a118 commit a0f3f2d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pages/AccountSettings/tabs/OktaAccess/OktaConfigForm/OktaConfigForm.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { SubmitHandler, useForm } from 'react-hook-form'
55
import { useParams } from 'react-router-dom'
66
import { z } from 'zod'
77

8+
import { Provider } from 'shared/api/helpers'
89
import Banner from 'ui/Banner'
910
import BannerContent from 'ui/Banner/BannerContent'
1011
import Button from 'ui/Button'
@@ -24,7 +25,7 @@ const FormSchema = z.object({
2425

2526
type FormValues = z.infer<typeof FormSchema>
2627
interface URLParams {
27-
provider: string
28+
provider: Provider
2829
owner: string
2930
}
3031

0 commit comments

Comments
 (0)