Skip to content

Commit

Permalink
rename AddressBar -> ShareLinkInput
Browse files Browse the repository at this point in the history
  • Loading branch information
eanders-ms committed Jan 31, 2024
1 parent 5e9bbff commit acc6df9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions teachertool/src/components/ProjectWorkspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as React from "react";
import css from "./styling/ProjectWorkspace.module.scss";

import { Toolbar } from "./Toolbar";
import { AddressBar } from "./AddressBar";
import { ShareLinkInput } from "./ShareLinkInput";
import { MakeCodeFrame } from "./MakecodeFrame";
import { classes } from "../utils";

Expand All @@ -20,7 +20,7 @@ export const ProjectWorkspace: React.FC<IProps> = () => {
{/* Right */}
<></>
</Toolbar>
<AddressBar className={css["grow-1"]} />
<ShareLinkInput className={css["grow-1"]} />
<MakeCodeFrame />
</div>
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
// eslint-disable-next-line import/no-internal-modules
import css from "./styling/AddressBar.module.scss";
import css from "./styling/ShareLinkInput.module.scss";

import { useContext, useState, useMemo, useCallback, useEffect } from "react";
import { AppStateContext } from "../state/appStateContext";
Expand All @@ -12,7 +12,7 @@ interface IProps {
className?: string;
}

export const AddressBar: React.FC<IProps> = ({ className }) => {
export const ShareLinkInput: React.FC<IProps> = ({ className }) => {
const { state: teacherTool } = useContext(AppStateContext);
const { projectMetadata } = teacherTool;
const [text, setText] = useState("");
Expand Down

0 comments on commit acc6df9

Please sign in to comment.