Skip to content

Commit 4f02764

Browse files
authored
Merge pull request #4047 from ClickHouse/Blargian-patch-56
Fix warning admonition showing "danger"
2 parents a301301 + 311b55e commit 4f02764

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)