Skip to content

Commit

Permalink
fix typo in file name
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Mineev committed Feb 10, 2025
1 parent 2e00002 commit 5e2175d
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { Auth } from 'components/auth';
import { Avatar } from 'components/avatar';
import { SignOutIcon } from 'components/icons/signout';
import { IconButton } from 'components/icon-button/icon-button';
import { messages } from 'components/auth/auth.messsages';
import { messages } from 'components/auth/auth.messages';

import styles from './auth-panel.module.css';

Expand Down
2 changes: 1 addition & 1 deletion frontend/apps/remark42/app/components/auth/auth.hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useIntl } from 'react-intl';
import { errorMessages, RequestError } from 'utils/errorUtils';
import { isObject } from 'utils/is-object';
import { parseMessage, updateIframeHeight } from 'utils/post-message';
import { messages } from './auth.messsages';
import { messages } from './auth.messages';

export function useDropdown(disableClosing?: boolean) {
const rootRef = useRef<HTMLDivElement>(null);
Expand Down
2 changes: 1 addition & 1 deletion frontend/apps/remark42/app/components/auth/auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { ArrowIcon } from 'components/icons/arrow';

import { Button } from './components/button';
import { OAuth } from './components/oauth';
import { messages } from './auth.messsages';
import { messages } from './auth.messages';
import { useDropdown, useErrorMessage } from './auth.hooks';
import { getProviders, getTokenInvalidReason, persistEmail } from './auth.utils';
import {
Expand Down
2 changes: 1 addition & 1 deletion frontend/apps/remark42/app/components/auth/auth.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { StaticStore } from 'common/static-store';
import type { FormProvider, OAuthProvider } from 'common/types';

import { OAUTH_PROVIDERS } from './components/oauth.consts';
import { messages } from './auth.messsages';
import { messages } from './auth.messages';
import { setItem, getItem } from 'common/local-storage';
import { LS_EMAIL_KEY } from 'common/constants';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { OAuthProvider } from 'common/types';
import { siteId } from 'common/settings';
import { useTheme } from 'hooks/useTheme';

import { messages } from 'components/auth/auth.messsages';
import { messages } from 'components/auth/auth.messages';

import { BASE_URL } from 'common/constants.config';
import { getButtonVariant, getProviderData } from './oauth.utils';
Expand Down
7 changes: 4 additions & 3 deletions frontend/apps/remark42/app/components/profile/profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ import { Spinner } from 'components/spinner/spinner';
import { CrossIcon } from 'components/icons/cross';
import { IconButton } from 'components/icon-button/icon-button';
import { Button } from 'components/auth/components/button';
import { messages as authMessages } from 'components/auth/auth.messsages';
import { messages } from 'components/auth/auth.messages';
import type { Comment as CommentType, Theme, User } from 'common/types';

import styles from './profile.module.css';
import { Counter } from './components/counter';

import styles from './profile.module.css';

const COMMENTS_LIMIT = 10;

async function signout() {
Expand Down Expand Up @@ -198,7 +199,7 @@ export function Profile() {
{isCurrent && (
<button
className={clsx('profile-signout', styles.signout)}
title={intl.formatMessage(authMessages.signout)}
title={intl.formatMessage(messages.signout)}
onClick={handleClickLogout}
disabled={isSigningOut}
>
Expand Down
2 changes: 1 addition & 1 deletion frontend/apps/remark42/app/components/spinner/spinner.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import clsx from 'clsx';
import { h } from 'preact';
import { messages } from 'components/auth/auth.messsages';
import { messages } from 'components/auth/auth.messages';
import { useIntl } from 'react-intl';

import styles from './spinner.module.css';
Expand Down

0 comments on commit 5e2175d

Please sign in to comment.