Skip to content

Commit

Permalink
rename back
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoudmoravej committed Mar 4, 2024
1 parent 8b032c6 commit 28324e0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/contexts/apollo/apolloClientProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getApolloClient } from "~/utils";
import { ApolloProvider } from "@apollo/client";
import { useAuthenticationContext } from "../authentication/authenticationContexta";
import { useAuthenticationContext } from "../authentication/authenticationContext";
import { useMemo } from "react";
import { useSettingsContext } from "../settings/settingsContext";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState } from "react";

import { User } from "~/models/user";
import { AuthenticationContext } from "./authenticationContexta";
import { AuthenticationContext } from "./authenticationContext";

export const AuthenticationClientProvider = ({
children,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { User } from "~/models/user";
import { AuthenticationContext } from "./authenticationContexta";
import { AuthenticationContext } from "./authenticationContext";

export const AuthenticationServerProvider = ({
user,
Expand Down
4 changes: 2 additions & 2 deletions app/contexts/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export * from "./authentication/authenticationContexta";
export * from "./authentication/authenticationContext";
export * from "./authentication/authenticationClientProvider";
export * from "./authentication/authenticationServerProvidera";
export * from "./authentication/authenticationServerProvider";
export * from "./apollo/apolloClientProvider";
export * from "./apollo/apolloServerProvider";
export * from "./settings/settingsServerProvider";
Expand Down
2 changes: 1 addition & 1 deletion app/routes/_dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Cog6ToothIcon } from "@heroicons/react/24/solid";

import { Sidenav, DashboardNavbar, Footer } from "~/widgets/layout";
import { getRoutes } from "~/routesData";
import { useAuthenticationContext } from "~/contexts/authentication/authenticationContexta";
import { useAuthenticationContext } from "~/contexts/authentication/authenticationContext";

export default function Dashboard() {
//TODO: change the followings to get value from settings context
Expand Down

0 comments on commit 28324e0

Please sign in to comment.