Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Rename to tsx, and fix import

Oliver Günther37034df9e5f7
diff --git a/frontend/src/stimulus/controllers/dynamic/block-note.controller.ts b/frontend/src/stimulus/controllers/dynamic/block-note.controller.tsx
similarity index 96%
rename from frontend/src/stimulus/controllers/dynamic/block-note.controller.ts
rename to frontend/src/stimulus/controllers/dynamic/block-note.controller.tsx
index 9eee12e626f..e605cb030e5 100644
--- a/frontend/src/stimulus/controllers/dynamic/block-note.controller.ts
+++ b/frontend/src/stimulus/controllers/dynamic/block-note.controller.tsx
@@ -31,7 +31,7 @@
import { Controller } from '@hotwired/stimulus';
import React from 'react';
import { createRoot } from 'react-dom/client';
-import OpBlockNoteContainer from 'react/OpBlockNoteContainer';
+import OpBlockNoteContainer from '../../../react/OpBlockNoteContainer';
export default class extends Controller {
static targets = [