Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
toloudis committed Dec 3, 2024
1 parent b09f4a6 commit 48dc7d1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/src/Components/AgentMetadata.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { AgentData } from "../../../type-declarations/simularium/types.js";
import { AgentData } from "@aics/simularium-viewer";

interface AgentMetadataProps {
agentData: AgentData;
Expand Down
2 changes: 1 addition & 1 deletion examples/src/Components/ColorPicker.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState } from "react";

import { UIDisplayData } from "../../../src/index.js";
import { UIDisplayData } from "@aics/simularium-viewer";

type ColorPickerProps = {
uiDisplayData: UIDisplayData;
Expand Down
6 changes: 4 additions & 2 deletions examples/src/Components/ConversionForm/CollectionInput.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { map, reduce } from "lodash";
import React from "react";
import BaseInput from "./BaseInput"
import BaseInput from "./BaseInput";
import { CustomParameters } from "../../types";

interface CollectionParameters extends CustomParameters {
Expand Down Expand Up @@ -147,7 +147,9 @@ class CollectionInput extends React.Component<
}
if (parameter.extendible) {
jsx.push(
<button key={name} onClick={this.addItem}>Add another {name} item</button>
<button key={name} onClick={this.addItem}>
Add another {name} item
</button>
);
}
return jsx;
Expand Down

0 comments on commit 48dc7d1

Please sign in to comment.