Skip to content

Commit

Permalink
fix: push rather than unshift
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikoTan committed Mar 23, 2024
1 parent e7bb29f commit ee9454d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/command.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export function apply(ctx: Context, config: Config) {
const tips = getTips(session)
if (tips) {
const tip = Random.pick(tips)
output.unshift(
output.push(
<p>
<i18n path='.tips'></i18n>
<i18n path={tip}></i18n>
Expand Down

0 comments on commit ee9454d

Please sign in to comment.