mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
fix incorrect context imports
This commit is contained in:
@@ -13,7 +13,7 @@ import Loading from "./components/Loading";
|
||||
|
||||
import { SnackProvider } from "./utils/SnackProvider";
|
||||
import ConfirmationProvider from "components/ConfirmationDialog/Provider";
|
||||
import { AppProvider } from "contextsAppContext";
|
||||
import { AppProvider } from "contexts/AppContext";
|
||||
import { FiretableContextProvider } from "contexts/FiretableContext";
|
||||
import routes from "constants/routes";
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import React, { useContext, useEffect } from "react";
|
||||
import Snackbar, { SnackbarOrigin } from "@material-ui/core/Snackbar";
|
||||
import { SnackContext } from "contextsSnackContext";
|
||||
import Snackbar from "@material-ui/core/Snackbar";
|
||||
import { SnackContext } from "contexts/SnackContext";
|
||||
import MuiAlert, { AlertProps } from "@material-ui/lab/Alert";
|
||||
import { makeStyles, Theme } from "@material-ui/core/styles";
|
||||
|
||||
function Alert(props: AlertProps) {
|
||||
return <MuiAlert elevation={6} variant="filled" {...props} />;
|
||||
|
||||
@@ -5,7 +5,7 @@ import React, { useEffect, useReducer, useContext } from "react";
|
||||
import equals from "ramda/es/equals";
|
||||
import firebase from "firebase/app";
|
||||
import { FireTableFilter, FiretableOrderBy } from ".";
|
||||
import { SnackContext } from "contextsSnackContext";
|
||||
import { SnackContext } from "contexts/SnackContext";
|
||||
import { cloudFunction } from "../../firebase/callables";
|
||||
import { isCollectionGroup, generateSmallerId } from "utils/fns";
|
||||
const CAP = 1000; // safety paramter sets the upper limit of number of docs fetched by this hook
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useContext } from "react";
|
||||
import { Route, RouteProps, Redirect } from "react-router-dom";
|
||||
|
||||
import { AppContext } from "contextsAppContext";
|
||||
import { AppContext } from "contexts/AppContext";
|
||||
import Loading from "../components/Loading";
|
||||
|
||||
interface IPrivateRouteProps extends RouteProps {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useEffect, useState } from "react";
|
||||
import { auth } from "../firebase";
|
||||
import { SnackbarOrigin } from "@material-ui/core/Snackbar";
|
||||
import { SnackContext } from "contextsSnackContext";
|
||||
import { SnackContext } from "contexts/SnackContext";
|
||||
|
||||
interface ISnackProviderProps {
|
||||
children: React.ReactNode;
|
||||
|
||||
Reference in New Issue
Block a user