AletheiaFact / AletheiaFact/aletheia
Use a library that maintains a comprehensive list of valid TLDs in Editor Sources Validation
Abierto
tech
- Lenguaje dominante
- TypeScript
- Estrellas
- 55
- Forks
- 20
- Merge medio
- 2 d 6 h
- PR fusionados (30 d)
- 2
Descripción
### Where
```js
const validateFloatingLink = useCallback(() => {
// TODO: use a library or service that maintains a comprehensive list of valid TLDs
if (!URL_PATTERN.test(href)) {
throw new Error(t("sourceForm:errorMessageValidURL"));
}
}, [href, t]);
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.