Skip to content

Commit 66a291c

Browse files
Fix comment
1 parent 46157df commit 66a291c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/setup/addUtilsToWindow.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export default function addUtilsToWindow() {
2323
// We intentionally do not offer an Onyx.get API because we believe it will lead to code patterns we don't want to use in this repo, but we can offer a workaround for the sake of debugging
2424
window.Onyx.get = function (key) {
2525
return new Promise((resolve) => {
26+
// We have opted for `connectWithoutView` here as this is a debugging utility and does not relate to any view.
2627
// eslint-disable-next-line rulesdir/prefer-onyx-connect-in-libs
2728
const connection = Onyx.connectWithoutView({
2829
key,

0 commit comments

Comments
 (0)