overleaf/services/web/frontend/js/features/ide-react/scope-adapters/settings-adapter.ts

6 lines
219 B
TypeScript
Raw Normal View History

import { ReactScopeValueStore } from '@/features/ide-react/scope-value-store/react-scope-value-store'
export function populateSettingsScope(store: ReactScopeValueStore) {
store.set('settings', window.userSettings)
}