You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
Use Alert component for not logged in message
This commit is contained in:
@ -12,6 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
import { Alert } from "@vector-im/compound-web";
|
||||
import { useAtomValue } from "jotai";
|
||||
|
||||
import { currentUserIdAtom } from "../atoms";
|
||||
@ -35,7 +36,7 @@ const Home: React.FC = () => {
|
||||
</>
|
||||
);
|
||||
} else {
|
||||
return <div className="font-bold text-alert">You're not logged in.</div>;
|
||||
return <Alert type="critical" title="You're not logged in." />;
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user