fixed loading tables with maby FKs

This commit is contained in:
Jan Prochazka
2020-04-30 21:47:40 +02:00
parent c9a0dfcb53
commit 17134552ce
3 changed files with 15 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ export default function usePropsCompare(props) {
if (!prevProps) return;
for (const key of _.union(_.keys(props), _.keys(prevProps))) {
if (props[key] !== prevProps[key]) {
console.log(`Different prop value found: prop=${key}, old=${prevProps[key]}, new=${prevProps[key]}`);
console.log(`Different prop value found: prop=${key}, old, new`, prevProps[key], prevProps[key]);
}
}
}