Skip to content

Commit 22e4ee4

Browse files
authored
fix(cc-samples): refresh page onCCSignout (#489)
1 parent a2e6d96 commit 22e4ee4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • widgets-samples/cc/samples-cc-react-app/src

widgets-samples/cc/samples-cc-react-app/src/App.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ const handleSaveEnd = (isComplete: boolean) => {
129129

130130
const onCCSignOut = () => {
131131
console.log('CC Sign out has been successful');
132+
window.location.reload();
132133
};
133134

134135
const onAccepted = ({task}) => {
@@ -825,4 +826,4 @@ const onTaskDeclined = (task,reason) => {
825826
);
826827
}
827828

828-
export default observer(App);
829+
export default observer(App);

0 commit comments

Comments
 (0)