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:
15
node_modules/strip-bom-string/index.js
generated
vendored
Normal file
15
node_modules/strip-bom-string/index.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/*!
|
||||
* strip-bom-string <https://github.com/jonschlinkert/strip-bom-string>
|
||||
*
|
||||
* Copyright (c) 2015, 2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = function(str) {
|
||||
if (typeof str === 'string' && str.charAt(0) === '\ufeff') {
|
||||
return str.slice(1);
|
||||
}
|
||||
return str;
|
||||
};
|
Reference in New Issue
Block a user