Add comment

This commit is contained in:
Kurt Hutten
2021-09-26 21:05:35 +10:00
parent 6e45ce96d7
commit 9aee4ae725

View File

@@ -228,6 +228,8 @@ const reducer = (state: State, { type, payload }): State => {
],
currentModel: payload === 0 ? 0 : payload - 1,
}
// 'updateEditorModel' and 'reorderEditorModels' added during #519 as part of adding editor tabs, this functionality is expected soon.
// https://github.com/Irev-Dev/cadhub/pull/519
// case 'updateEditorModel': {
// const newModels = [...state.models]
// newModels[state.currentModel].content = payload