Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent empty string from being passed to getElementById() when the r…
…oute does not have own templateId - Improved the logic to ensure `route.templateTargetId` is valid before calling `getElementById()`. - Added a fallback to `PineconeRouter.settings.templateTargetId` if `route.templateTargetId` is not provided. - This fix ensures that the correct template target is retrieved, preventing potential runtime errors.
- Loading branch information