Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
remove todos, lint
Oleg Isonen1b8b692b7337
diff --git a/apps/designer/app/canvas/shared/styles.ts b/apps/designer/app/canvas/shared/styles.tsindex 9e7fac2c34..e071e15356 100644--- a/apps/designer/app/canvas/shared/styles.ts+++ b/apps/designer/app/canvas/shared/styles.ts@@ -155,7 +155,7 @@ const addRule = (id: string, cssRule: CssRule) => {return rule;};-const getRule = (id: string, breakpoint: string) => {+const getRule = (id: string, breakpoint?: string) => {const key = id + breakpoint;return wrappedRulesMap.get(key);};diff --git a/apps/designer/app/designer/features/style-panel/shared/get-inherited-style.ts b/apps/designer/app/designer/features/style-panel/shared/get-inherited-style.tsindex 67810914af..f2713690de 100644--- a/apps/designer/app/designer/features/style-panel/shared/get-inherited-style.ts+++ b/apps/designer/app/designer/features/style-panel/shared/get-inherited-style.ts@@ -15,7 +15,6 @@ const propertyNames = Object.keys(properties) as (keyof typeof properties)[];// All inheritable properties we supportconst inheritableProperties: InheritableProperties = propertyNames.reduce((acc: InheritableProperties, property) => {- // @todoconst config = properties[property];if (config.inherited) {acc[property as StyleProperty] = true;diff --git a/apps/designer/app/designer/features/style-panel/shared/use-style-data.ts b/apps/designer/app/designer/features/style-panel/shared/use-style-data.tsindex 942716ed3c..3f68ddeba7 100644--- a/apps/designer/app/designer/features/style-panel/shared/use-style-data.ts+++ b/apps/designer/app/designer/features/style-panel/shared/use-style-data.ts@@ -135,7 +135,6 @@ export const useStyleData = ({publishUpdates("update", updates);const nextStyle = updates.reduce((currentStyle, { property, value }) => {- // @todocurrentStyle[property] = value;return currentStyle;},diff --git a/packages/react-sdk/src/css/get-browser-style.ts b/packages/react-sdk/src/css/get-browser-style.tsindex 41635fbc3d..e014b370e7 100644--- a/packages/react-sdk/src/css/get-browser-style.ts+++ b/packages/react-sdk/src/css/get-browser-style.ts@@ -20,7 +20,6 @@ const parseValue = (}if (number === 0 && property in properties) {- // @todoreturn properties[property].initial;}