Rename
This commit is contained in:
+5
-1
@@ -28,7 +28,11 @@ import {InlineLinkText, Link} from '#/components/Link'
|
||||
import {Loader} from '#/components/Loader'
|
||||
import {Text} from '#/components/Typography'
|
||||
|
||||
export function BlueskyPlus({control}: {control: Dialog.DialogControlProps}) {
|
||||
export function BlueskyPlusCore({
|
||||
control,
|
||||
}: {
|
||||
control: Dialog.DialogControlProps
|
||||
}) {
|
||||
return (
|
||||
<Dialog.Outer control={control}>
|
||||
<Dialog.Handle />
|
||||
@@ -23,7 +23,7 @@ import {atoms as a, tokens, useTheme} from '#/alf'
|
||||
import {Admonition} from '#/components/Admonition'
|
||||
import {Button, ButtonIcon, ButtonText} from '#/components/Button'
|
||||
import {useDialogControl} from '#/components/Dialog'
|
||||
import {BlueskyPlus} from '#/components/dialogs/BlueskyPlus'
|
||||
import {BlueskyPlusCore} from '#/components/dialogs/BlueskyPlusCore'
|
||||
import {Divider} from '#/components/Divider'
|
||||
import {GradientFill} from '#/components/GradientFill'
|
||||
import {AndroidLogo} from '#/components/icons/AndroidLogo'
|
||||
@@ -243,7 +243,7 @@ function Purchase() {
|
||||
</ButtonText>
|
||||
<ButtonIcon icon={Plus} position="right" style={[{color: 'white'}]} />
|
||||
</Button>
|
||||
<BlueskyPlus control={control} />
|
||||
<BlueskyPlusCore control={control} />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ import {DesktopSearch} from '#/view/shell/desktop/Search'
|
||||
import {atoms as a, tokens, useTheme, web} from '#/alf'
|
||||
import {Button} from '#/components/Button'
|
||||
import {useDialogControl} from '#/components/Dialog'
|
||||
import {BlueskyPlus} from '#/components/dialogs/BlueskyPlus'
|
||||
import {BlueskyPlusCore} from '#/components/dialogs/BlueskyPlusCore'
|
||||
import {Divider} from '#/components/Divider'
|
||||
import {GradientFill} from '#/components/GradientFill'
|
||||
import {Full as BlueskyPlusLogo} from '#/components/icons/BlueskyPlus'
|
||||
@@ -190,7 +190,7 @@ export function DesktopRightNav({routeName}: {routeName: string}) {
|
||||
</>
|
||||
)}
|
||||
|
||||
<BlueskyPlus control={bskyPlusDialogControl} />
|
||||
<BlueskyPlusCore control={bskyPlusDialogControl} />
|
||||
|
||||
<Text style={[a.leading_snug, t.atoms.text_contrast_low]}>
|
||||
{hasSession && (
|
||||
|
||||
Reference in New Issue
Block a user