Skip to content

Commit

Permalink
revert lint changes
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeniyKiyashko committed Dec 5, 2024
1 parent 47630e4 commit bd83b4d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
22 changes: 11 additions & 11 deletions apps/demos/Demos/Chat/Customization/React/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ export default function App() {
<React.Fragment>
<div className="chat-container">
<Chat
height = {710}
items = {messages}
user = {currentUser}
disabled = {isDisabled}
showAvatar = {showAvatar}
showUserName = {showUsername}
showDayHeaders = {showDayHeaders}
showMessageTimestamp = {showMessageTimestamp}
dayHeaderFormat = {dayHeaderFormat}
messageTimestampFormat = {messageTimestampFormat}
onMessageEntered = {onMessageEntered}
height={710}
items={messages}
user={currentUser}
disabled={isDisabled}
showAvatar={showAvatar}
showUserName={showUsername}
showDayHeaders={showDayHeaders}
showMessageTimestamp={showMessageTimestamp}
dayHeaderFormat={dayHeaderFormat}
messageTimestampFormat={messageTimestampFormat}
onMessageEntered={onMessageEntered}
/>
</div>

Expand Down
7 changes: 4 additions & 3 deletions apps/demos/Demos/Chat/Overview/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
<script setup lang="ts">
import { ref } from 'vue';
import DxChat from 'devextreme-vue/chat';
import { messages, supportAgent, currentUser } from './data.ts';
import { messages as initialMessages, supportAgent, currentUser } from './data.ts';
const messages = ref(initialMessages)
const userChatTypingUsers = ref([]);
const supportChatTypingUsers = ref([]);
Expand All @@ -30,15 +31,15 @@ function onMessageEntered(event) {
}
function userChatTypingStart() {
supportChatTypingUsers.value = [currentUser.value];
supportChatTypingUsers.value = [currentUser];
}
function userChatTypingEnd() {
supportChatTypingUsers.value = [];
}
function supportChatTypingStart() {
userChatTypingUsers.value = [supportAgent.value];
userChatTypingUsers.value = [supportAgent];
}
function supportChatTypingEnd() {
Expand Down

0 comments on commit bd83b4d

Please sign in to comment.