chore: reconcile grid layer after stack rebase
This commit is contained in:
1 parent
16982aa178
commit
6bfa9c33d0
9 files changed
+54
-166
No files matched your search
@@ -5,10 +5,7 @@ interface ResponsiveLayout {
|
||||
breakpoint: number;
|
||||
}
|
||||
|
||||
export const getLayoutIdForViewportWidth = (
|
||||
layouts: readonly ResponsiveLayout[],
|
||||
viewportWidth: number,
|
||||
): string => {
|
||||
export const getLayoutIdForViewportWidth = (layouts: readonly ResponsiveLayout[], viewportWidth: number): string => {
|
||||
if (layouts.length === 0) {
|
||||
throw new Error("Expected the board to contain a layout");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user