MCPcopy Create free account
hub / github.com/SpacehuhnTech/espwebtool / save

Function save

src/components/Settings.js:31–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 }
30
31 const save = () => {
32 saveSettings({ baudRate: baudRate })
33 props.setSettings({ baudRate: baudRate })
34 props.close()
35 toast.success('Settings saved ✨', { position: 'top-center', autoClose: 3000, toastId: 'settings' })
36 }
37
38 return (
39 <Dialog open={props.open} onClose={props.close}>

Callers

nothing calls this directly

Calls 1

saveSettingsFunction · 0.90

Tested by

no test coverage detected