Renaming biggestAvailableArray to biggestAvailableArea + removing duplicated code.
This commit is contained in:
parent
227575043b
commit
77a4d23301
9 changed files with 45 additions and 91 deletions
|
@ -2,7 +2,7 @@
|
|||
import Peer from "./Peer.svelte";
|
||||
import {layoutStore} from "../../Stores/LayoutStore";
|
||||
import {afterUpdate, onDestroy} from "svelte";
|
||||
import {biggestAvailableArrayStore} from "../../Stores/BiggestAvailableArrayStore";
|
||||
import {biggestAvailableAreaStore} from "../../Stores/BiggestAvailableAreaStore";
|
||||
|
||||
let cssClass = 'one-col';
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
|||
});
|
||||
|
||||
afterUpdate(() => {
|
||||
biggestAvailableArrayStore.recompute();
|
||||
biggestAvailableAreaStore.recompute();
|
||||
})
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue