Fix doc link in the auth dialog (#1688)
This commit is contained in:
parent
a8763abfb7
commit
1078a546fe
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import { Box, Text, useInput } from 'ink';
|
import { Box, Text, useInput } from 'ink';
|
||||||
import Link from 'ink-link';
|
|
||||||
import { Colors } from '../colors.js';
|
import { Colors } from '../colors.js';
|
||||||
import { RadioButtonSelect } from './shared/RadioButtonSelect.js';
|
import { RadioButtonSelect } from './shared/RadioButtonSelect.js';
|
||||||
import { LoadedSettings, SettingScope } from '../../config/settings.js';
|
import { LoadedSettings, SettingScope } from '../../config/settings.js';
|
||||||
|
@ -94,9 +93,14 @@ export function AuthDialog({
|
||||||
<Text color={Colors.Gray}>(Use Enter to select)</Text>
|
<Text color={Colors.Gray}>(Use Enter to select)</Text>
|
||||||
</Box>
|
</Box>
|
||||||
<Box marginTop={1}>
|
<Box marginTop={1}>
|
||||||
<Link url="https://github.com/google/gemini-cli/blob/main/docs/tos-privacy.md">
|
|
||||||
<Text>Terms of Services and Privacy Notice for Gemini CLI</Text>
|
<Text>Terms of Services and Privacy Notice for Gemini CLI</Text>
|
||||||
</Link>
|
</Box>
|
||||||
|
<Box marginTop={1}>
|
||||||
|
<Text color={Colors.AccentBlue}>
|
||||||
|
{
|
||||||
|
'https://github.com/google-gemini/gemini-cli/blob/main/docs/tos-privacy.md'
|
||||||
|
}
|
||||||
|
</Text>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue