Commit c7855b3b authored by Jonathan Rohde's avatar Jonathan Rohde
Browse files

feat(chat): formatting

parent 09e95b8d
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
const findByName = (obj: ObjectWithName, prompt: string) => { const findByName = (obj: ObjectWithName, prompt: string) => {
const name = obj.name.toLowerCase(); const name = obj.name.toLowerCase();
return name.includes(prompt.toLowerCase().split(' ')?.at(0)?.substring(1) ?? ''); return name.includes(prompt.toLowerCase().split(' ')?.at(0)?.substring(1) ?? '');
} };
export const selectUp = () => { export const selectUp = () => {
selectedIdx = Math.max(0, selectedIdx - 1); selectedIdx = Math.max(0, selectedIdx - 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment