fix(client): update nanoid (#39960)
This commit is contained in:
committed by
GitHub
parent
d94a240cf4
commit
38323f858f
@@ -1,5 +1,5 @@
|
||||
import { createAction, handleActions } from 'redux-actions';
|
||||
import nanoId from 'nanoid';
|
||||
import { nanoid } from 'nanoid';
|
||||
|
||||
import { createTypes } from '../../../utils/createTypes';
|
||||
|
||||
@@ -15,7 +15,7 @@ export const sagas = [];
|
||||
|
||||
export const createFlashMessage = createAction(
|
||||
types.createFlashMessage,
|
||||
msg => ({ id: nanoId(), ...msg })
|
||||
msg => ({ id: nanoid(), ...msg })
|
||||
);
|
||||
export const removeFlashMessage = createAction(types.removeFlashMessage);
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import React, { Component, Fragment } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import nanoid from 'nanoid';
|
||||
import { nanoid } from 'nanoid';
|
||||
import {
|
||||
Button,
|
||||
FormGroup,
|
||||
|
Reference in New Issue
Block a user