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:
@@ -261,7 +261,7 @@ function App() {
|
||||
|
||||
// Component for the version selection page (root)
|
||||
const VersionPage = () => {
|
||||
const handleVersionSelect = (version: 'esv' | 'nkjv') => {
|
||||
const handleVersionSelect = (version: 'esv' | 'nkjv' | 'nlt') => {
|
||||
navigate(`/version/${version}`);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user