Skip to content

Commit 5abfecc

Browse files
committed
fix(core): update upgrade command in changelog dialog
1 parent 1648aef commit 5abfecc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/sanity/src/core/studio/components/navbar/changelog/ChangelogAccordion.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {Card, Stack, Button, Text, Code, Box} from '@sanity/ui'
33
import React, {useCallback, useState} from 'react'
44
import styled from 'styled-components'
55

6-
const COMMANDS = ['npm i @sanity/cli -g', 'sanity upgrade']
6+
const COMMANDS = ['npm install sanity@latest']
77

88
const Icon = styled(ToggleArrowRightIcon)`
99
&[data-rotate='true'] {
@@ -51,7 +51,7 @@ export function ChangelogAccordion(props: ChangelogAccordionProps) {
5151
<Card tone="transparent" padding={3} radius={2}>
5252
<Stack space={3}>
5353
<Code language="bash" size={1}>
54-
{[`# Run these commands to upgrade`, ...COMMANDS].join('\n')}
54+
{[`# Run this command to upgrade`, ...COMMANDS].join('\n')}
5555
</Code>
5656
</Stack>
5757
</Card>

0 commit comments

Comments
 (0)