Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.
This commit is contained in:
13
node_modules/property-information/lib/util/case-insensitive-transform.js
generated
vendored
Normal file
13
node_modules/property-information/lib/util/case-insensitive-transform.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import {caseSensitiveTransform} from './case-sensitive-transform.js'
|
||||
|
||||
/**
|
||||
* @param {Record<string, string>} attributes
|
||||
* Attributes.
|
||||
* @param {string} property
|
||||
* Property.
|
||||
* @returns {string}
|
||||
* Transformed property.
|
||||
*/
|
||||
export function caseInsensitiveTransform(attributes, property) {
|
||||
return caseSensitiveTransform(attributes, property.toLowerCase())
|
||||
}
|
Reference in New Issue
Block a user