import React from 'react';
import {NavigationContainer} from '@react-navigation/native';
import Routes, {AuthProvider, ProfileProvider} from './routes';

const App = () => {
  return (
    <AuthProvider>
      <ProfileProvider>
        <NavigationContainer>
          <Routes />
        </NavigationContainer>
      </ProfileProvider>
    </AuthProvider>
  );
};

export default App;
