Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jiftechnify committed Jan 8, 2024
1 parent de5c504 commit 48de05e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/components/HeaderMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const LoggedInHeaderMenuBody: React.FC<HeaderMenuBodyProps> = ({ myData }) => {
<MenuItemShareMusic disabled={!writeOpsEnabled} />
<DropdownMenuSeparator />
<MenuItemToggleColorTheme />
<MenuItemSwitchLangage />
<MenuItemSwitchLanguage />
<DropdownMenuSeparator />
<MenuItemZap />
<MenuItemGitHubRepo />
Expand All @@ -100,7 +100,7 @@ const LoggedOutHeaderMenuBody: React.FC = () => {
</DropdownMenuTrigger>
<DropdownMenuContent className={css({ w: "14rem" })} align="start" collisionPadding={8}>
<MenuItemToggleColorTheme />
<MenuItemSwitchLangage />
<MenuItemSwitchLanguage />
<DropdownMenuSeparator />
<MenuLabelBuildId />
</DropdownMenuContent>
Expand Down Expand Up @@ -185,7 +185,7 @@ const MenuItemToggleColorTheme: React.FC = () => {
);
};

const MenuItemSwitchLangage: React.FC = () => {
const MenuItemSwitchLanguage: React.FC = () => {
const { t, i18n } = useTranslation();

const onLangChange = (v: string) => {
Expand Down
2 changes: 1 addition & 1 deletion src/states/nostr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ const applyStatusUpdate = (ev: NostrEvent) => {
}
jotaiStore.set(followingsStatusesAtom, new Map(statusesMap));
} else {
// status update with emtpy content -> invalidate
// status update with empty content -> invalidate
invalidationScheduler.cancel(pubkey, category);
invalidateStatus(pubkey, category);
}
Expand Down

0 comments on commit 48de05e

Please sign in to comment.