Chats: rename all files with dashes instead of underscores
This commit is contained in:
parent
5dc4980875
commit
d2cfe93b6a
9 changed files with 10 additions and 10 deletions
|
@ -8,7 +8,7 @@ import { makeGetChat } from 'soapbox/selectors';
|
|||
import { getAcct } from 'soapbox/utils/accounts';
|
||||
import { displayFqn as getDisplayFqn } from 'soapbox/utils/state';
|
||||
|
||||
import ChatBox from './components/chat_box';
|
||||
import ChatBox from './components/chat-box';
|
||||
|
||||
const getChat = makeGetChat();
|
||||
|
|
@ -13,7 +13,7 @@ import UploadButton from 'soapbox/features/compose/components/upload_button';
|
|||
import { useAppSelector, useAppDispatch } from 'soapbox/hooks';
|
||||
import { truncateFilename } from 'soapbox/utils/media';
|
||||
|
||||
import ChatMessageList from './chat_message_list';
|
||||
import ChatMessageList from './chat-message-list';
|
||||
|
||||
const messages = defineMessages({
|
||||
placeholder: { id: 'chat_box.input.placeholder', defaultMessage: 'Send a message…' },
|
|
@ -8,13 +8,13 @@ import { openChat, launchChat, toggleMainWindow } from 'soapbox/actions/chats';
|
|||
import { getSettings } from 'soapbox/actions/settings';
|
||||
import AccountSearch from 'soapbox/components/account_search';
|
||||
import { Counter } from 'soapbox/components/ui';
|
||||
import AudioToggle from 'soapbox/features/chats/components/audio_toggle';
|
||||
import AudioToggle from 'soapbox/features/chats/components/audio-toggle';
|
||||
import { useAppDispatch, useAppSelector, useSettings } from 'soapbox/hooks';
|
||||
import { RootState } from 'soapbox/store';
|
||||
import { Chat } from 'soapbox/types/entities';
|
||||
|
||||
import ChatList from './chat_list';
|
||||
import ChatWindow from './chat_window';
|
||||
import ChatList from './chat-list';
|
||||
import ChatWindow from './chat-window';
|
||||
|
||||
const messages = defineMessages({
|
||||
searchPlaceholder: { id: 'chats.search_placeholder', defaultMessage: 'Start a chat with…' },
|
|
@ -14,7 +14,7 @@ import { makeGetChat } from 'soapbox/selectors';
|
|||
import { getAcct } from 'soapbox/utils/accounts';
|
||||
import { displayFqn as getDisplayFqn } from 'soapbox/utils/state';
|
||||
|
||||
import ChatBox from './chat_box';
|
||||
import ChatBox from './chat-box';
|
||||
|
||||
import type { Account as AccountEntity } from 'soapbox/types/entities';
|
||||
|
|
@ -5,11 +5,11 @@ import { useHistory } from 'react-router-dom';
|
|||
|
||||
import { launchChat } from 'soapbox/actions/chats';
|
||||
import AccountSearch from 'soapbox/components/account_search';
|
||||
import AudioToggle from 'soapbox/features/chats/components/audio_toggle';
|
||||
import AudioToggle from 'soapbox/features/chats/components/audio-toggle';
|
||||
|
||||
import { Column } from '../../components/ui';
|
||||
|
||||
import ChatList from './components/chat_list';
|
||||
import ChatList from './components/chat-list';
|
||||
|
||||
const messages = defineMessages({
|
||||
title: { id: 'column.chats', defaultMessage: 'Chats' },
|
||||
|
|
|
@ -315,11 +315,11 @@ export function ChatIndex() {
|
|||
}
|
||||
|
||||
export function ChatRoom() {
|
||||
return import(/* webpackChunkName: "features/chats/chat_room" */'../../chats/chat_room');
|
||||
return import(/* webpackChunkName: "features/chats/chat_room" */'../../chats/chat-room');
|
||||
}
|
||||
|
||||
export function ChatPanes() {
|
||||
return import(/* webpackChunkName: "features/chats/components/chat_panes" */'../../chats/components/chat_panes');
|
||||
return import(/* webpackChunkName: "features/chats/components/chat_panes" */'../../chats/components/chat-panes');
|
||||
}
|
||||
|
||||
export function ServerInfo() {
|
||||
|
|
Loading…
Reference in a new issue