mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-10 21:32:20 +00:00
dont show international domain warning when capital letter present
This commit is contained in:
@@ -154,7 +154,7 @@ export default function CreateDomainForm({
|
||||
|
||||
const punycodePreview = useMemo(() => {
|
||||
if (!baseDomain) return "";
|
||||
const punycode = toPunycode(baseDomain);
|
||||
const punycode = toPunycode(baseDomain.toLowerCase());
|
||||
return punycode !== baseDomain.toLowerCase() ? punycode : "";
|
||||
}, [baseDomain]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user