Skip to content

Conversation

@mvolkmann
Copy link
Collaborator

No description provided.

@@ -1,6 +1,6 @@
import { format } from 'date-fns';
import React, { useContext, useEffect, useState } from 'react';
import {useHistory} from 'react-router-dom';
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just added spaces inside braces.

if (res.error) throw new Error(res.error.message);

// Refresh browser to show that pulses where already submitted today.
history.push(location.pathname);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The push method doesn't refresh the browser, but the go method does.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't realize go was available in v5. Thanks!

title="How you feeling about life outside of work?"
/>
<Button
disabled={!internalComment}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed requirement to supply internalComment.

Copy link
Collaborator

@jackkeller jackkeller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@mvolkmann mvolkmann merged commit f2d92e1 into develop May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants