style: auto-fix lint and format
This commit is contained in:
1 parent
25c9955cc6
commit
0a80d70730
4 files changed
+8
-16
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