Skip to content

Commit

Permalink
Show extension version in options page
Browse files Browse the repository at this point in the history
  • Loading branch information
wong2 committed Feb 5, 2023
1 parent 5c512d4 commit 73940f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/options/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
updateUserConfig,
} from '../config'
import logo from '../logo.png'
import { detectSystemColorScheme } from '../utils'
import { detectSystemColorScheme, getExtensionVersion } from '../utils'
import ProviderSelect from './ProviderSelect'

function OptionsPage(props: { theme: Theme; onThemeChange: (theme: Theme) => void }) {
Expand Down Expand Up @@ -57,7 +57,7 @@ function OptionsPage(props: { theme: Theme; onThemeChange: (theme: Theme) => voi
<nav className="flex flex-row justify-between items-center mt-5 px-2">
<div className="flex flex-row items-center gap-2">
<img src={logo} className="w-10 h-10 rounded-lg" />
<span className="font-semibold">ChatGPT for Google</span>
<span className="font-semibold">ChatGPT for Google (v{getExtensionVersion()})</span>
</div>
<div className="flex flex-row gap-3">
<a href="https://chatgpt-for-google.canny.io/changelog" target="_blank" rel="noreferrer">
Expand Down

0 comments on commit 73940f3

Please sign in to comment.