parent
39cb7f8c48
commit
ba37c52417
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "vite-electron-builder",
|
||||
"name": "viscord",
|
||||
"description": "Secure boilerplate for Electron app based on Vite",
|
||||
"private": true,
|
||||
"engines": {
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ export default () => {
|
|||
|
||||
const sendMessage = useCallback(() => {
|
||||
if(textBoxRef.current === null) return;
|
||||
send('message', createMessage('Anonymous', textBoxRef.current.innerText));
|
||||
send('message', createMessage('Version 2', textBoxRef.current.innerText));
|
||||
textBoxRef.current.innerText = '';
|
||||
}, []);
|
||||
|
||||
|
|
|
|||
Reference in New Issue