chore: reconcile widget layer after stack rebase
This commit is contained in:
1 parent
3079eb1767
commit
1f3e7afd5e
175 files changed
+9048
-15628
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