Skip to content

Commit

Permalink
ci: test trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustav-Eikaas committed Sep 5, 2024
1 parent 87f3ae8 commit 37f7935
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-apps-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Deploy apps CI
on:
push:
branches: ["main"]
pull_request:
paths:
- "client/apps/portal-administration/**"

Expand Down
8 changes: 2 additions & 6 deletions client/apps/portal-administration/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import { createElement } from "react";
import { createRoot } from "react-dom/client";

import {
makeComponent,
ComponentRenderArgs,
} from "@equinor/fusion-framework-react-app";
import { makeComponent, ComponentRenderArgs } from "@equinor/fusion-framework-react-app";

import configure from "./config";

Expand All @@ -15,7 +11,7 @@ const appComponent = createElement(App);
const createApp = (args: ComponentRenderArgs) =>
makeComponent(appComponent, args, configure);

export default function (el: HTMLElement, args: ComponentRenderArgs) {
export default function(el: HTMLElement, args: ComponentRenderArgs) {
const app = createApp(args);
const root = createRoot(el);
root.render(createElement(app));
Expand Down

0 comments on commit 37f7935

Please sign in to comment.