Skip to content

Commit

Permalink
React18 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
oltionchampari committed May 15, 2023
1 parent ab2899c commit e034ad2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/initialize.app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
* Created by Caleydo Team on 31.08.2016.
*/

import { App } from 'coral';
import { Coral } from 'coral';
import loginDialog from './LoginDialog.html';

const APP_NAME = 'Coral';

document.title = APP_NAME;
const tdpApp = new App(APP_NAME, loginDialog); // assign to variable to avoid linting errors
const tdpApp = new Coral(APP_NAME, loginDialog); // assign to variable to avoid linting errors
2 changes: 1 addition & 1 deletion src/pages/components/SourceCodeCard.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { useAsync } from 'visyn_core';
import { useAsync } from 'visyn_core/hooks';
import { AppMetaDataUtils } from 'tdp_core';

export function SourceCodeCard() {
Expand Down
2 changes: 1 addition & 1 deletion src/phovea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
IOrdinoLogoDesc,
IStartMenuTabShortcutDesc,
} from 'ordino';
import { IRegistry, PluginRegistry } from 'visyn_core';
import { IRegistry, PluginRegistry } from 'visyn_core/plugin';
import { EXTENSION_POINT_CUSTOMIZED_LOGIN_FORM } from 'tdp_core';

export default function (registry: IRegistry) {
Expand Down
2 changes: 1 addition & 1 deletion src/phovea_registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Licensed under the new BSD license, available at http://caleydo.org/license
**************************************************************************** */

import { PluginRegistry } from 'visyn_core';
import { PluginRegistry } from 'visyn_core/plugin';
import reg from './phovea';

/**
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "visyn_scripts/config/tsconfig.template.json",
"compilerOptions": {
"outDir": "./dist",
"moduleResolution": "node",
},
"include": [
"src/**/*.ts",
Expand Down

0 comments on commit e034ad2

Please sign in to comment.