Commit d08056fc authored by Filip Šenk's avatar Filip Šenk
Browse files

Feat: add navigate after uploading

parent bb437b2e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -157,6 +157,8 @@ const EditorView: FC<PropsWithChildren> = ({ children }) => {
                    notify('Successfully uploaded', JSON.stringify({}), {
                      intent: 'success',
                    })
                    // ROUTER DOES NOT KNOW THE ROUTE FOR EX. PANEL
                    window.location.href = '/exercise-panel'
                  }
                } catch (error) {
                  notify((error as Error).message, JSON.stringify(error), {