Skip to content

Commit

Permalink
feat(frontend): add reload in editor list
Browse files Browse the repository at this point in the history
  • Loading branch information
SARDONYX-sard committed May 30, 2024
1 parent 668536d commit eefd88b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dar2oar_gui/frontend/src/components/lists/editor_list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const SelectEditorMode = ({ editorMode, setEditorMode }: SelectEditorProp
(e: SelectChangeEvent<string>) => {
const presetEditor = selectEditorMode(e.target.value);
setEditorMode(presetEditor);
window.location.reload();
},
[setEditorMode],
);
Expand Down

0 comments on commit eefd88b

Please sign in to comment.