Skip to content

Commit

Permalink
Merge pull request #37 from ilyasbozdemir/case-project
Browse files Browse the repository at this point in the history
Case project
  • Loading branch information
ilyasbozdemir authored May 6, 2024
2 parents 47cb5ef + 45fb5df commit 2e242bd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2,779 deletions.
15 changes: 1 addition & 14 deletions LibraryTrackingApp/src/frontend/contexts/AppContext.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
import React, { createContext, useContext, useState } from "react";
import initialSiteInfo, {
footerData,
navLinks,
dropdownLinks,
footerLinks,
socialMediaLinks,
} from "./appContextValues";

const AppContext = createContext();

export const useAppContext = () => {
Expand Down Expand Up @@ -71,15 +65,8 @@ export const AppContextProvider = ({ children }) => {
}));
};

const siteInfo = initialSiteInfo;

const contextValue = {
navLinks,
dropdownLinks,
footerLinks,
footerData,
siteInfo,
socialMediaLinks,
analytics,
setAnalytics,
adminAnalytics,
Expand Down
Loading

0 comments on commit 2e242bd

Please sign in to comment.