export function getConfig()

in src/config/config.ts [51:58]


export function getConfig(id: TemplateId = getActiveTemplateId()): Config {
  const customizedConfig = localStorage.getItem(localStorageConfigKey(id));
  if (customizedConfig) {
    return JSON.parse(customizedConfig);
  } else {
    return getDefaultConfig(id);
  }
}