sessions: removed unused key

This commit is contained in:
Agnieszka Gancarczyk 2021-07-05 17:22:55 +01:00
parent be539849d7
commit f7012a3a72

View file

@ -63,29 +63,21 @@ export const SessionsSection = () => {
const options = [ const options = [
<SelectOption <SelectOption
key={1}
data-testid="all-sessions-option" data-testid="all-sessions-option"
value={t("sessions:All session types")} value={t("sessions:All session types")}
isPlaceholder isPlaceholder
/>, />,
<SelectOption <SelectOption
data-testid="regular-sso-option" data-testid="regular-sso-option"
key={2}
value={t("sessions:Regular SSO")} value={t("sessions:Regular SSO")}
/>, />,
<SelectOption <SelectOption data-testid="offline-option" value={t("sessions:Offline")} />,
data-testid="offline-option"
key={3}
value={t("sessions:Offline")}
/>,
<SelectOption <SelectOption
data-testid="direct-grant-option" data-testid="direct-grant-option"
key={4}
value={t("sessions:Direct grant")} value={t("sessions:Direct grant")}
/>, />,
<SelectOption <SelectOption
data-testid="service-account-option" data-testid="service-account-option"
key={5}
value={t("sessions:Service account")} value={t("sessions:Service account")}
/>, />,
]; ];