mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
- @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.
24 lines
510 B
TypeScript
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;
|