Fix memorization for the fragment component (#2360)

This commit is contained in:
Evan Almloff authored and GitHub committed 2024-04-26 00:48:06 -04:00
1 parent 47c87568e1
commit fc2b441ee1
2 files changed
+10 -4

No files matched your search

+2 -1
View File
@@ -344,7 +344,8 @@ impl Properties for ErrorBoundaryProps {
fn builder() -> Self::Builder {
ErrorBoundaryProps::builder()
}
fn memoize(&mut self, _: &Self) -> bool {
fn memoize(&mut self, other: &Self) -> bool {
*self = other.clone();
false
}
}