Skip to content

Commit

Permalink
Merge pull request #12 from daboigbae/enhancement/update-rollout
Browse files Browse the repository at this point in the history
updated template
  • Loading branch information
daboigbae authored Jun 29, 2023
2 parents 079893a + c6a72d6 commit 8908c28
Show file tree
Hide file tree
Showing 83 changed files with 7,178 additions and 16,426 deletions.
Binary file added .DS_Store
Binary file not shown.
40 changes: 20 additions & 20 deletions template/App.js
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
import React from "react";
import "react-native-gesture-handler";
import {useEffect} from "react";
import {Provider} from "react-redux";

import { Provider } from "react-redux";
import { PersistGate } from "redux-persist/integration/react";
import { persistStore } from "redux-persist";
import {persistStore} from "redux-persist";
import {PersistGate} from "redux-persist/integration/react";

import useLocalize from "./src/hooks/useLocalize";
import Navigation from "./src/navigation/Navigation";

import store from "./src/redux/store";
import useLocalize from "./src/hooks/useLocalize";
import { useEffect } from "react";

import "react-native-gesture-handler";

const persistor = persistStore(store);

const App = () => {
const { setI18nConfig } = useLocalize();

useEffect(() => {
setI18nConfig();
}, [setI18nConfig]);

return (
<Provider store={store}>
<PersistGate persistor={persistor}>
<Navigation />
</PersistGate>
</Provider>
);
const {setI18nConfig} = useLocalize();

useEffect(() => {
setI18nConfig();
}, [setI18nConfig]);

return (
<Provider store={store}>
<PersistGate persistor={persistor}>
<Navigation />
</PersistGate>
</Provider>
);
};

export default App;
4 changes: 2 additions & 2 deletions template/Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source 'https://rubygems.org'

# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby '2.7.5'
ruby ">= 2.6.10"

gem 'cocoapods', '~> 1.11', '>= 1.11.2'
gem 'cocoapods', '~> 1.12'
14 changes: 0 additions & 14 deletions template/__tests__/App-test.js

This file was deleted.

2 changes: 0 additions & 2 deletions template/_bundle/config

This file was deleted.

1 change: 0 additions & 1 deletion template/_ruby-version

This file was deleted.

55 changes: 0 additions & 55 deletions template/android/app/_BUCK

This file was deleted.

Loading

0 comments on commit 8908c28

Please sign in to comment.