fix(client): update nanoid (#39960)

This commit is contained in:
Oliver Eyton-Williams
2020-10-13 13:54:46 +02:00
committed by GitHub
parent d94a240cf4
commit 38323f858f
4 changed files with 7 additions and 7 deletions

View File

@@ -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);

View File

@@ -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,