Skip to content

Commit 069448d

Browse files
Lucki2gCopilot
andauthored
Update Website/contexts/DatamodelViewContext.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 95be7a7 commit 069448d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Website/contexts/DatamodelViewContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface DatamodelViewState {
1313
const initialState: DatamodelViewState = {
1414
currentGroup: null,
1515
currentSection: null,
16-
scrollToSection: () => { console.error("scrollToSection not initialized yet!"); },
16+
scrollToSection: () => { throw new Error("scrollToSection not initialized yet!"); },
1717
}
1818

1919
type DatamodelViewAction =

0 commit comments

Comments
 (0)