Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
eanders-ms committed Feb 12, 2024
1 parent d5309c7 commit 962c961
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion teachertool/src/components/HeaderBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const HeaderBar: React.FC<HeaderBarProps> = () => {
if (appTheme?.organizationUrl) {
window.open(appTheme.organizationUrl);
}
}
};

const getOrganizationLogo = () => {
return (
Expand Down
4 changes: 1 addition & 3 deletions teachertool/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


export namespace Strings {
export const ConfirmReplaceRubric = lf("This will replace your current rubric. Continue?");
export const UntitledProject = lf("Untitled Project");
Expand All @@ -22,7 +20,7 @@ export namespace Ticks {
}

namespace Constants {
export const LearnMoreLink = "https://makecode.com/teachertool"; // TODO: Replace with gwlink or aka.ms link
export const LearnMoreLink = "https://makecode.com/teachertool"; // TODO: Replace with gwlink or aka.ms link
}

export default Constants;
2 changes: 1 addition & 1 deletion teachertool/src/transforms/resetRubricAsync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export async function resetRubricAsync(fromUserInteraction: boolean) {
const { state: teachertool, dispatch } = stateAndDispatch();

if (fromUserInteraction && isRubricLoaded(teachertool)) {
if (!await confirmAsync(Strings.ConfirmReplaceRubric)) {
if (!(await confirmAsync(Strings.ConfirmReplaceRubric))) {
return;
}
}
Expand Down

0 comments on commit 962c961

Please sign in to comment.