Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Remove hydrated, we don't need it anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
hlomzik committed Dec 7, 2023
1 parent 4a25cd2 commit 6cb2329
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/sdk/lsf-sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import {
FF_DEV_1752,
FF_DEV_2186,
FF_DEV_2715,
FF_DEV_2887,
FF_DEV_3034,
FF_DEV_3734,
Expand Down Expand Up @@ -163,8 +162,6 @@ export class LSFWrapper {
const queuePosition = queueDone ? queueDone + 1 : queueLeft ? queueTotal - queueLeft + 1 : 1;

const lsfProperties = {
// ensure that we are able to distinguish at component level if the app has fully hydrated.
hydrated: false,
user: options.user,
config: this.lsfConfig,
task: taskToLSFormat(this.task),
Expand Down Expand Up @@ -377,13 +374,6 @@ export class LSFWrapper {
this.lsf.initializeStore(lsfTask);
this.setAnnotation(annotationID, fromHistory || isRejectedQueue);
this.setLoading(false);
if (isFF(FF_DEV_2715)) {
this.setHydrated(true);
}
}

setHydrated(value) {
this.lsf.setHydrated?.(value);
}

/** @private */
Expand Down

0 comments on commit 6cb2329

Please sign in to comment.