fix formatting

This commit is contained in:
Evan Almloff committed 2024-02-14 12:13:54 -06:00
1 parent 78ef453888
commit 05a6dda89c
8 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -201,7 +201,7 @@ impl<T, S: Storage<SignalData<T>>> Readable for Signal<T, S> {
fn try_read(&self) -> Result<ReadableRef<Self>, generational_box::BorrowError> {
let inner = self.inner.try_read()?;
if let Some(reactive_context) = ReactiveContext::current(){
if let Some(reactive_context) = ReactiveContext::current() {
inner.subscribers.lock().unwrap().insert(reactive_context);
}