Skip to content

Commit 6400a72

Browse files
authored
Update index.js
1 parent a301301 commit 6400a72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/theme/Admonition/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ const aliases = {
172172
secondary: 'note',
173173
important: 'info',
174174
success: 'tip',
175-
warning: 'danger',
175+
warning: 'caution',
176176
};
177177
function getAdmonitionConfig(unsafeType) {
178178
const type = aliases[unsafeType] ?? unsafeType;

0 commit comments

Comments
 (0)