error boundary and table pagination
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import React, { Component } from "react";
|
||||
|
||||
import { Fallback } from "./Fallback";
|
||||
|
||||
class ErrorBoundary extends Component {
|
||||
|
@@ -1,17 +1,16 @@
|
||||
import React from "react";
|
||||
import logo from "assets/images/logo/ITguild.svg";
|
||||
|
||||
import rightArrow from "assets/icons/arrows/arrowRight.svg";
|
||||
import logo from "assets/images/logo/ITguild.svg";
|
||||
|
||||
import './fallback.scss'
|
||||
import "./fallback.scss";
|
||||
|
||||
export const Fallback = () => {
|
||||
|
||||
return (
|
||||
<div className="fallback">
|
||||
<img src={logo} alt="logo" className="logo" />
|
||||
<h1>Произошла непредвиденная ошибка</h1>
|
||||
<a href='/profile'>
|
||||
<a href="/profile">
|
||||
Вернуться назад
|
||||
<img src={rightArrow} alt="arrow" />
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user