Skip to content

Commit 8e60663

Browse files
committed
Minor cleanup tweak
1 parent 2e338bb commit 8e60663

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/scripts/clipperUI/clipper.tsx

+8-1
Original file line numberDiff line numberDiff line change
@@ -576,11 +576,18 @@ class ClipperClass extends ComponentBase<ClipperState, {}> {
576576
let handleSignInEvent = new Log.Event.PromiseEvent(Log.Event.Label.HandleSignInEvent);
577577

578578
this.setState({ userResult: { status: Status.InProgress } });
579-
type ErrorObject = { updateReason: UpdateReason, correlationId?: string, error: string, errorDescription: string };
579+
580+
type ErrorObject = {
581+
updateReason: UpdateReason,
582+
correlationId?: string,
583+
error: string,
584+
errorDescription: string
585+
};
580586

581587
Clipper.getExtensionCommunicator().callRemoteFunction(Constants.FunctionKeys.signInUser, {
582588
param: authType, callback: (data: UserInfo | ErrorObject) => {
583589
// For cleaner referencing
590+
// TODO: This kind of thing should go away as we move the communicator to be Promise based.
584591
let updatedUser = data as UserInfo;
585592
let errorObject = data as ErrorObject;
586593

0 commit comments

Comments
 (0)