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
Prev Previous commit
Update site/src/pages/WorkspaceSchedulePage/WorkspaceSchedulePage.tsx
Co-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com>
  • Loading branch information
kylecarbs and presleyp authored Jun 7, 2022
commit dc5e342387851b1a8a636991360df41cc8cbfde4
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export const WorkspaceSchedulePage: React.FC = () => {
const [scheduleState, scheduleSend] = useMachine(workspaceSchedule)
const { formErrors, getWorkspaceError, workspace } = scheduleState.context

// Get workspace on mount and whenever workspaceId changes.
// Get workspace on mount and whenever the args for getting a workspace change.
// scheduleSend should not change.
useEffect(() => {
username && workspaceName && scheduleSend({ type: "GET_WORKSPACE", username, workspaceName })
Expand Down