Skip to content

Commit

Permalink
add app
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatyana-js committed Jun 23, 2024
1 parent cc3bcc2 commit 8705aa4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ const state = {
},
};

const timeout = 5000;

export default () => {
const defaultLanguage = 'ru';
const i18n = i18next.createInstance();
Expand All @@ -50,7 +52,6 @@ export default () => {

renderForm();

const timeout = 5000;
const getUpdateContent = (feeds) => {
const promises = feeds.map(({ url }) => axios.get(createLink(url))
.then((responce) => {
Expand Down

0 comments on commit 8705aa4

Please sign in to comment.