fleet/frontend/components/MDM/SSOError/SSOError.tsx
Noah Talerman 1462fd4529
Fleet UI copy tweak (#37013)
- @noahtalerman: My understanding is that we use this error message for
all platforms. "Select Cancel..." doesn't help the end user on Android
because there's no cancel button. The copy could be more helpful but
with this tweak at least it's not confusing.
2025-12-10 10:33:21 -05:00

24 lines
510 B
TypeScript

import React from "react";
import classnames from "classnames";
import DataError from "components/DataError";
const baseClass = "mdm-sso-error";
interface ISSOErrorProps {
className?: string;
}
const SSOError = ({ className }: ISSOErrorProps) => {
const classNames = classnames(baseClass, className);
return (
<DataError className={classNames}>
<p>
Please try again. If this keeps happening, please contact IT support.
</p>
</DataError>
);
};
export default SSOError;