Unverified Commit ae524fb2 authored by Ryo H's avatar Ryo H Committed by GitHub

Fixed typo. (#62440)

### What?

I fixed the typo from `occured` to `occurred`.
Co-authored-by: 's avatarRyo H <49798519+ryobs@users.noreply.github.com>
parent b4231c03
......@@ -54,7 +54,7 @@ export default function Videos() {
{!videosResponse && !error && <div>Loading...</div>}
{error && (
<div className="error">
An error occured trying to fetch your videos. Be sure to have you
An error occurred trying to fetch your videos. Be sure to have you
API key set in your .env file this way: <i>API_KEY=YOUR_API_KEY</i>
</div>
)}
......
......@@ -28,7 +28,7 @@ export function getNextFontError(
// Unknown error thrown by @next/font
return new SimpleWebpackError(
file,
`An error occured in \`next/font\`.\n\n${err.stack}`
`An error occurred in \`next/font\`.\n\n${err.stack}`
)
}
} catch {
......
......@@ -184,7 +184,7 @@ function formatMessage(
export default function formatWebpackMessages(json: any, verbose?: boolean) {
const formattedErrors = json.errors.map((message: any) => {
const isUnknownNextFontError = message.message.includes(
'An error occured in `next/font`.'
'An error occurred in `next/font`.'
)
return formatMessage(message, isUnknownNextFontError || verbose)
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment