linter, linter, let me work
This commit is contained in:
parent
978eb1e4d9
commit
8cc0fd1359
|
@ -60,6 +60,15 @@ const postMessage = async (msg: string) => {
|
||||||
return response.data.createComment
|
return response.data.createComment
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const handleGetChats = async () => {
|
||||||
|
try {
|
||||||
|
const response = await loadChats()
|
||||||
|
setChats(response as unknown as Chat[])
|
||||||
|
} catch (error) {
|
||||||
|
console.log(error)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export const InboxView = () => {
|
export const InboxView = () => {
|
||||||
const [messages, setMessages] = createSignal([])
|
const [messages, setMessages] = createSignal([])
|
||||||
const [authors, setAuthors] = createSignal<Author[]>([])
|
const [authors, setAuthors] = createSignal<Author[]>([])
|
||||||
|
@ -136,15 +145,6 @@ export const InboxView = () => {
|
||||||
formParent.dataset.replicatedValue = postMessageText()
|
formParent.dataset.replicatedValue = postMessageText()
|
||||||
})
|
})
|
||||||
|
|
||||||
const handleGetChats = async () => {
|
|
||||||
try {
|
|
||||||
const response = await loadChats()
|
|
||||||
setChats(response as unknown as Chat[])
|
|
||||||
} catch (error) {
|
|
||||||
console.log(error)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div class="messages container">
|
<div class="messages container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user