Skip to content

Commit

Permalink
Bump next and some app deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jjti committed Aug 3, 2024
1 parent d25693b commit fc11a5a
Show file tree
Hide file tree
Showing 6 changed files with 960 additions and 550 deletions.
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs v18.19.1
2 changes: 1 addition & 1 deletion app/components/PlayerTableRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default class PlayerTableRow extends React.Component<IPlayerRowProps> {
icon={<DeleteOutlined />}
// shape="circle"
size="small"
type="ghost"
type="text"
className="remove-player-button"
style={{ marginRight: 10 }}
onClick={(e) => {
Expand Down
3 changes: 1 addition & 2 deletions app/lib/store/store.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { applyMiddleware, createStore } from 'redux';
import { persistStore, persistReducer } from 'redux-persist';
import storage from 'redux-persist/lib/storage';
import { composeWithDevTools } from 'redux-devtools-extension';
import { IPlayer } from '../models/Player';
import { IScoring } from '../models/Scoring';
import { IPick, IRoster, ITeam } from '../models/Team';
Expand Down Expand Up @@ -192,6 +191,6 @@ const persistConfig = {

const persistedReducer = persistReducer(persistConfig, reducers);

export const store = createStore(persistedReducer, composeWithDevTools(applyMiddleware()));
export const store = createStore(persistedReducer, applyMiddleware());

export const persistor = persistStore(store);
17 changes: 17 additions & 0 deletions app/next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
// https://stackoverflow.com/questions/66244968/cannot-use-import-statement-outside-a-module-error-when-importing-react-hook-m
transpilePackages: [
'antd',
'rc-util',
'@babel/runtime',
'@ant-design/icons',
'@ant-design/icons-svg',
'rc-pagination',
'rc-picker',
'rc-tree',
'rc-table',
],
};

module.exports = nextConfig;
Loading

0 comments on commit fc11a5a

Please sign in to comment.