mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* add Arbitrum Sepolia dev preset * base form layout * add validation for repo url and commit hash * improve global error text * show stylus contract info * add test for contract verification form * hide "open in IDE" for stylus contracts * [skip ci] adjust validation rules for GitHub URL * change contract info items order * fix error text styles
4 lines
148 B
TypeScript
4 lines
148 B
TypeScript
export default function formatLanguageName(language: string) {
|
|
return language.replace(/_/g, ' ').replace(/\b\w/g, char => char.toUpperCase());
|
|
}
|