Change Coldstart type to boolean
Summary: Updated the coldstart type to boolean, as number is not required, its a boolean value. Differential Revision: D14260678 fbshipit-source-id: 236a38e04fd31cab4a561f5e0365bc43ad98adea
This commit is contained in:
committed by
Facebook Github Bot
parent
af317eed2b
commit
be008fa18f
@@ -116,9 +116,9 @@ class EventDetails extends Component<{
|
|||||||
<DataDescriptionKey>Requested on cold start</DataDescriptionKey>
|
<DataDescriptionKey>Requested on cold start</DataDescriptionKey>
|
||||||
<span key="sep">: </span>
|
<span key="sep">: </span>
|
||||||
<DataDescription
|
<DataDescription
|
||||||
type="number"
|
type="boolean"
|
||||||
value={event.coldStart}
|
value={event.coldStart}
|
||||||
setValue={function(path: Array<string>, val: any) {}}
|
setValue={null}
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
{this.renderViewportData()}
|
{this.renderViewportData()}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ export type ImageEvent = {
|
|||||||
startTime: Timestamp,
|
startTime: Timestamp,
|
||||||
endTime: Timestamp,
|
endTime: Timestamp,
|
||||||
source: string,
|
source: string,
|
||||||
coldStart: number,
|
coldStart: boolean,
|
||||||
viewport?: ViewportData, // not set for prefetches
|
viewport?: ViewportData, // not set for prefetches
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user