Skip to content

Commit

Permalink
feat: add error boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunvegda committed Feb 12, 2023
1 parent a44e130 commit 5667a05
Show file tree
Hide file tree
Showing 15 changed files with 1,176 additions and 406 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = {
'no-var': 'error',
'prefer-const': 'error',
curly: ['warn', 'multi-line', 'consistent'],
'no-console': 'off',
'no-console': ['error', { allow: ['warn', 'info', 'error'] }],
'import/no-unresolved': [
'error',
{
Expand Down
3 changes: 1 addition & 2 deletions __tests__/devtools/AtomViewer.test.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import React, { useMemo } from 'react';
import exp from 'constants';
import { act, render, screen, waitFor } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { atom, createStore, useAtomValue } from 'jotai';
import { atom, useAtomValue } from 'jotai';
import { DevTools } from 'jotai-devtools';
import { AnyAtom } from 'src/types';
import { customRender } from '../custom-render';
Expand Down
Loading

0 comments on commit 5667a05

Please sign in to comment.