Skip to content

Commit

Permalink
✏️ Fix warning admonition alias
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyongyu authored Sep 27, 2023
1 parent bcfc839 commit 735bdf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/theme-nonepress/src/theme/Admonition/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ const aliases = {
secondary: "note",
important: "info",
success: "tip",
warning: "danger",
warning: "caution",
} as const;

function getAdmonitionConfig(unsafeType: string): AdmonitionConfig {
Expand Down

0 comments on commit 735bdf7

Please # to comment.