refine icon indicating copy to clipboard operation
refine copied to clipboard

fix(docs): correct syntax error in authentication tutorial

Open noahfavreau opened this issue 5 months ago • 2 comments

PR Checklist

Please check if your PR fulfills the following requirements:

  • [x] The commit message follows our guidelines: https://refine.dev/docs/guides-concepts/contributing/#commit-convention

Bugs / Features

  • [x] Related issue(s) linked
  • [ ] Tests for the changes have been added
  • [x] Docs have been added / updated
  • [x] Changesets have been added https://refine.dev/docs/guides-concepts/contributing/#creating-a-changeset

What is the current behavior?

The authentication tutorial example in the documentation contains smart quotes ( and ) instead of standard ASCII quotes ("), which causes a TypeScript syntax error in code editors and sandpack previews.

What is the new behavior?

Replaced the smart quotes with standard double quotes to ensure the code compiles correctly and behaves as expected.

- name: “Error”,
+ name: "Error",

Fixes #6814

Notes for reviewers

noahfavreau avatar Jun 07 '25 15:06 noahfavreau

⚠️ No Changeset found

Latest commit: 86d0d1cdd7c05d48664842e46dec4d5301018d0d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Jun 07 '25 15:06 changeset-bot[bot]

Deploy Preview for refine-doc-live-previews ready!

Built without sensitive environment variables

Name Link
Latest commit 86d0d1cdd7c05d48664842e46dec4d5301018d0d
Latest deploy log https://app.netlify.com/projects/refine-doc-live-previews/deploys/68484a71fe245000082308a0
Deploy Preview https://deploy-preview-6832--refine-doc-live-previews.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Jun 07 '25 15:06 netlify[bot]