Is this file supposed to be autogenerated?

// @ts-nocheck
/* eslint-disable */
/* tslint:disable */
/* prettier-ignore-start */
import * as React from "react";
import * as p from "@plasmicapp/react-web";

export const ScreenContext = React.createContext(
  "PLEASE_RENDER_INSIDE_PROVIDER"
);
/**
 *  @deprecated Plasmic now uses a custom hook for Screen variants, which is
 *  automatically included in your components. Please remove this provider
 *  from your code.
 */

export function ScreenVariantProvider(props) {
  console.warn(
    "DEPRECATED: Plasmic now uses a custom hook for Screen variants, which is automatically included in your components. Please remove this provider from your code."
  );
  return props.children;
}

export const useScreenVariants = p.createUseScreenVariants(true, {
  mobileOnly: "(min-width:0px) and (max-width:600px)",
  tablet: "(max-width:1200px)",
  desktop: "(max-width:1550px)",
});

export default ScreenContext;
/* prettier-ignore-end */

is this file supposed to be autogenerated? it says to remove it but it was made by the auto generator

Hey @various_rat! We used to use that file, but not anymore. Now it’s deprecated, so it’s safe to remove.

removing it crashed the entire thing lol.

Maybe I need to upgrade a file?

Oh, sorry, my fault. The file is still used - it adds the useScreenVariants which is used by Plasmic components. What is deprecated is the ScreenVariantProvider. That comment and warning is there to be seen by code that uses the legacy ScreenVariantProvider (which is a no-op at the moment)

ahh