mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-11 12:26:35 +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(() => {
|
const punycodePreview = useMemo(() => {
|
||||||
if (!baseDomain) return "";
|
if (!baseDomain) return "";
|
||||||
const punycode = toPunycode(baseDomain);
|
const punycode = toPunycode(baseDomain.toLowerCase());
|
||||||
return punycode !== baseDomain.toLowerCase() ? punycode : "";
|
return punycode !== baseDomain.toLowerCase() ? punycode : "";
|
||||||
}, [baseDomain]);
|
}, [baseDomain]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user