Skip to content

Commit 7a7b7aa

Browse files
committed
Fixed case of import
1 parent 06a15cd commit 7a7b7aa

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

src/app/embed.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { io } from "socket.io-client"
22
import { link } from "./util";
33
import { APP_HELLO, AppHelloArgs } from "../server/da/message-types";
4-
import { getClientState } from "../client/state/clientState";
4+
import { getClientState } from "../client/state/ClientState";
55

66
const appWindow = window.parent;
77

src/client/config/config.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { Component } from "react";
22
import * as styles from "./styles.module.css";
3-
import { ClientState, Directory, getClientState } from "../state/clientState";
3+
import { ClientState, Directory, getClientState } from "../state/ClientState";
44
import { Popup } from "../popups/popup";
55

6-
const CONFIG_ITENS = ["Directories", "Something else", "Thing 3", "Thing 4"];
6+
const CONFIG_ITEMS = ["Directories", "Panels"];
77

88
type AppPanelProps = {
99
closeAction: () => void;
@@ -23,7 +23,7 @@ export class ConfigPanel extends Component<AppPanelProps, AppPanelState> {
2323
constructor(props: AppPanelProps) {
2424
super(props);
2525
this.state = {
26-
item: CONFIG_ITENS[0],
26+
item: CONFIG_ITEMS[0],
2727
};
2828
}
2929

@@ -35,7 +35,7 @@ export class ConfigPanel extends Component<AppPanelProps, AppPanelState> {
3535
area={
3636
<div className={styles.configContent}>
3737
<div className={styles.configChoice}>
38-
{CONFIG_ITENS.map((a) => (
38+
{CONFIG_ITEMS.map((a) => (
3939
<div
4040
key={a}
4141
className={`${styles.configItem} ${a == this.state.item ? styles.selected : ""}`}
@@ -47,7 +47,7 @@ export class ConfigPanel extends Component<AppPanelProps, AppPanelState> {
4747
</div>
4848

4949
<div className={styles.configChoice}>
50-
{this.state.item == CONFIG_ITENS[0]
50+
{this.state.item == CONFIG_ITEMS[0]
5151
? getClientState()
5252
.getDirectories()
5353
.map((d) => (

src/client/frame/frame.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { Bin, Controls, NewPanel, Resolver } from "../controls/controls";
1+
import { Bin, Controls, NewPanel } from "../controls/controls";
22
import { Logo, Settings } from "../top/top";
33
import { Tabs } from "../tabs/tabs";
44
import * as styles from "./styles.module.css";
5-
import { ClientState, getClientState } from "../state/clientState";
5+
import { ClientState, getClientState } from "../state/ClientState";
66
import { Component } from "react";
77
import { AppDPanel } from "../appd/appd";
88
import { Content, Grids } from "../grid/grid";

src/client/grid/grid.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component } from "react";
2-
import { AppPanel, ClientState } from "../state/clientState";
2+
import { AppPanel, ClientState } from "../state/ClientState";
33
import * as styles from "./styles.module.css";
44
import "gridstack/dist/gridstack.css";
55
import { GridsState } from "./gridstate";

src/client/grid/gridstate.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { GridItemHTMLElement, GridStack, GridStackElement, GridStackWidget } from "gridstack"
22
import { ReactElement } from "react"
3-
import { AppPanel, ClientState } from "../state/clientState"
3+
import { AppPanel, ClientState } from "../state/ClientState"
44
import { createRoot } from 'react-dom/client';
55
import * as styles from "./styles.module.css";
66

src/client/resolver/resolver.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as styles from "./styles.module.css";
22
import { Popup, PopupButton } from "../popups/popup";
33
import { AppIdentifier, AppIntent, Context } from "@kite9/fdc3";
4-
import { ClientState } from "../state/clientState";
4+
import { ClientState } from "../state/ClientState";
55
import { useState } from "react";
66
import { getServerState } from "../state/ServerState";
77

src/client/state/AppState.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { BrowserTypes } from "@kite9/fdc3";
2-
import { getClientState } from "./clientState"
2+
import { getClientState } from "./ClientState"
33
import { getServerState } from "./ServerState"
44
import { DirectoryApp } from "@kite9/fdc3-web-impl";
55
import { v4 as uuid } from 'uuid'

src/client/state/ServerState.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { DirectoryApp } from "@kite9/fdc3-web-impl";
2-
import { getClientState } from "./clientState";
2+
import { getClientState } from "./ClientState";
33
import { DA_DIRECTORY_LISTING, DA_HELLO, DA_REGISTER_APP_LAUNCH, DesktopAgentDirectoryListingArgs, DesktopAgentHelloArgs, DesktopAgentRegisterAppLaunchArgs, SAIL_APP_OPEN, SAIL_CHANNEL_CHANGE, SAIL_INTENT_RESOLVE, SailAppOpenArgs, SailChannelChangeArgs, SailIntentResolveArgs } from "../../server/da/message-types";
44
import { io, Socket } from "socket.io-client"
55
import { AppIdentifier, ResolveError } from "@kite9/fdc3";

0 commit comments

Comments
 (0)