(
newSettings: RemoteSettings,
bootUserId?: string,
)
| 217 | }, []); |
| 218 | |
| 219 | const updateRemoteSettingsFn = async ( |
| 220 | newSettings: RemoteSettings, |
| 221 | bootUserId?: string, |
| 222 | ): Promise<void> => { |
| 223 | if (userId || bootUserId) { |
| 224 | await updateRemoteSettings({ |
| 225 | ...newSettings, |
| 226 | }); |
| 227 | } |
| 228 | }; |
| 229 | |
| 230 | const setSettings = async (newSettings: RemoteSettings): Promise<void> => { |
| 231 | updateSettings({ ...settings, ...newSettings }); |
no outgoing calls
no test coverage detected