Skip to content

Commit

Permalink
Rename data file
Browse files Browse the repository at this point in the history
  • Loading branch information
frdsndr committed Dec 14, 2021
1 parent 1618930 commit 7b01414
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/data/data.ts → src/data/profiles.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const data = {
const profiles = {
developers: [
{
userId: 2531,
Expand Down Expand Up @@ -59,4 +59,4 @@ const data = {
],
};

export default data;
export default profiles;
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// store data as .ts file and export constant
import data from './data/data';
import data from './data/profiles';

// import app logic
import appLogic from './app/app';
Expand Down

0 comments on commit 7b01414

Please sign in to comment.