Fixed NLT TypeScript compilation error

- Updated handleVersionSelect function in App.tsx to accept 'nlt' type
- Resolved TS2322 compilation error for NLT in version selector
- NLT can now be selected from UI and compilation succeeds

NLT is fully functional in the application!
This commit is contained in:
Ryderjj89
2025-09-28 22:08:20 -04:00
parent b654400896
commit 2440e6642d

View File

@@ -261,7 +261,7 @@ function App() {
// Component for the version selection page (root) // Component for the version selection page (root)
const VersionPage = () => { const VersionPage = () => {
const handleVersionSelect = (version: 'esv' | 'nkjv') => { const handleVersionSelect = (version: 'esv' | 'nkjv' | 'nlt') => {
navigate(`/version/${version}`); navigate(`/version/${version}`);
}; };