mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 04:50:12 +02:00
c1330d92b2
* mantine v8 migration * various design changes and improvements
20 lines
580 B
TypeScript
20 lines
580 B
TypeScript
import { useCurrentServer } from '/@/renderer/store';
|
|
import { Text } from '/@/shared/components/text/text';
|
|
|
|
export const ServerCredentialRequired = () => {
|
|
const currentServer = useCurrentServer();
|
|
|
|
return (
|
|
<>
|
|
<Text>
|
|
The selected server '{currentServer?.name}' requires an additional login
|
|
to access.
|
|
</Text>
|
|
<Text>
|
|
Add your credentials in the 'manage servers' menu or switch to a different
|
|
server.
|
|
</Text>
|
|
</>
|
|
);
|
|
};
|