ndungtse / next13-progressbar

A simple Next.js progressbar component using NProgress with support of next.js >=13 app dir.
https://next13-progressbar.vercel.app
MIT License
91 stars 3 forks source link

Typo in Providers.tsx #4

Closed nacholupotti closed 1 year ago

nacholupotti commented 1 year ago

Bro there is a typo in Providers.tsx. The "return" and the next line are written twice.

The correct file should be:

'use client'; import React from 'react'; import { Next13ProgressBar } from 'next13-progressbar';

const Providers = ({ children }: { children: React.ReactNode }) => { return ( <> {children} <Next13ProgressBar height="4px" color="#0A2FFF" options={{ showSpinner: true }} showOnShallow /> </> ); };

export default Providers;

By the way, thanks for the library! very useful. Big hug from Argentina

ndungtse commented 1 year ago

Oh, right. That true there is a typo. Thanks for your vision. Big hug to all Argentinians and the G.O.A.T Messi 😍