HomePhabricator
Diffusion Comm c67113dafe68

[web] Hide databaseModule behind a function

Description

[web] Hide databaseModule behind a function

Summary:
Part of ENG-4844
When database will be used by all users (including anonymous ones), we need to make sure that it's never in an unitialized state. We hide it behind a getter function so we add the initialization code there in the later diffs.

Test Plan: yarn flow

Reviewers: kamil, tomek, inka, atul

Reviewed By: kamil, tomek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D9105

Details

Event Timeline