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:
18
node_modules/micromark/lib/postprocess.js
generated
vendored
Normal file
18
node_modules/micromark/lib/postprocess.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* @import {Event} from 'micromark-util-types'
|
||||
*/
|
||||
|
||||
import { subtokenize } from 'micromark-util-subtokenize';
|
||||
|
||||
/**
|
||||
* @param {Array<Event>} events
|
||||
* Events.
|
||||
* @returns {Array<Event>}
|
||||
* Events.
|
||||
*/
|
||||
export function postprocess(events) {
|
||||
while (!subtokenize(events)) {
|
||||
// Empty
|
||||
}
|
||||
return events;
|
||||
}
|
Reference in New Issue
Block a user