Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editor: improves switch types cache handling #7952

Merged
merged 1 commit into from
Jul 8, 2024
Merged

editor: improves switch types cache handling #7952

merged 1 commit into from
Jul 8, 2024

Commits on Jul 4, 2024

  1. editor: improves switch types cache handling

    This commit fixes #7946.
    
    Details:
    - Adds a `?` to handle case where switch types have not been loaded yet
      in SwitchList.tsx
    - Adds a very simple cache to useSwitchTypes to avoid reloading switch
      types any time a new component mounts with that hook
    jacomyal committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    4f730ef View commit details
    Browse the repository at this point in the history