Skip to content

Commit

Permalink
fix: version switch
Browse files Browse the repository at this point in the history
  • Loading branch information
elrrrrrrr committed Jun 7, 2024
1 parent e20ba7b commit de99b90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/slugs/versions/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function TagsList({ tagsInfo, pkg }: { tagsInfo: Record<string, string[]>; pkg:
}}
>
<Segmented
value={type}
defaultValue={type || 'prod'}
options={[
{ label: '正式版本', value: 'prod' },
{ label: '所有版本', value: 'all' },
Expand Down Expand Up @@ -131,7 +131,7 @@ function VersionsList({ versions, pkg }: { versions: NpmPackageVersion[]; pkg: P
}}
>
<Segmented
value={type}
defaultValue={type || 'prod'}
options={[
{ label: '正式版本', value: 'prod' },
{ label: '所有版本', value: 'all' },
Expand Down

0 comments on commit de99b90

Please sign in to comment.