Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat: add new story for LoginPageView
  • Loading branch information
jsjoeio committed Jan 4, 2023
commit 1e54f5404b049c67a80dad363ef6b8ad738b0e01
12 changes: 12 additions & 0 deletions site/src/pages/LoginPage/LoginPageView.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,15 @@ Example.args = {
onSignIn: action("onSignIn"),
context: {},
}

const err = new Error("You are signed out or your session has expired. Please sign in again to continue.")

export const AuthError = Template.bind({})
AuthError.args = {
isLoading: false,
onSignIn: action("onSignIn"),
context: {
authError: err
},
}