diff --git a/app/components/channel-feed.jsx b/app/components/channel-feed.jsx index 3214dec..656b596 100644 --- a/app/components/channel-feed.jsx +++ b/app/components/channel-feed.jsx @@ -49,7 +49,7 @@ export default function ChannelFeed(props) { const idx = messages.length - 1; const prev = messages[idx]; - if ((!!prev.optimistic && channel.user.handle == update.user.handle && update.files.length == 0) || prev.id == update.id) { + if ((!!prev.optimistic && channel.user.handle == update.user.handle) || prev.id == update.id) { let mp = [...messages]; @@ -72,7 +72,7 @@ export default function ChannelFeed(props) { }); } } catch (e) { - console.error("encountered an error json decoding") + console.error("encountered an error json decoding"); } } }, [lastJsonMessage, channel, messages]); diff --git a/app/wikid.server.js b/app/wikid.server.js index f486d43..939ec8c 100644 --- a/app/wikid.server.js +++ b/app/wikid.server.js @@ -145,7 +145,6 @@ export const me = async (jwt) => { ...standardHeaders, } - try { const { data, status: s } = await axios({ method: 'get',