(amountToIncrement)
| 11 | const database = useDatabase(); |
| 12 | const counterRef = ref(database, 'counter'); |
| 13 | const increment = (amountToIncrement) => { |
| 14 | return set(counterRef, rtdbIncrement(amountToIncrement)); |
| 15 | }; |
| 16 | |
| 17 | const response = useDatabaseObjectData(counterRef); |
| 18 |
no outgoing calls
no test coverage detected