Skip to content

Commit

Permalink
Refactor HeroComboPrompts Add a console.log statement to display the …
Browse files Browse the repository at this point in the history
…version number, build date, and whether it runs on Outlook
  • Loading branch information
aeltorio committed Oct 18, 2024
1 parent b50205c commit 541710f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/aipane/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import HeroList, { HeroListItem } from "./HeroList";
import TextInsertion from "./TextInsertion";
import { makeStyles } from "@fluentui/react-components";
import { BrainCircuit20Regular } from "@fluentui/react-icons";
import { insertAIAnswer } from "../aipane";
import { insertAIAnswer, isOutlookClient } from "../aipane";
import HeroApiKey from "./HeroApiKey";
import HeroComboPrompts from "./HeroComboPrompts";
import HeroModels from "./HeroModels";
Expand Down Expand Up @@ -176,9 +176,9 @@ const App: React.FC<AppProps> = (props: AppProps): React.JSX.Element => {
}
};

// Show the version number in the console
// Show the version number, the build date and the target use in the console
// eslint-disable-next-line no-console
console.log(`Version: ${versionCfg.commit} Date: ${versionCfg.date}`);
console.log(`Version: ${versionCfg.commit} Date: ${versionCfg.date} Runs on Outlook: ${isOutlookClient()}`);

return (
<div className={styles.root}>
Expand Down

0 comments on commit 541710f

Please sign in to comment.