Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix zustand console warnings #88

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion platform/firecamp-platform/src/store/environment.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import create from 'zustand';
import { create } from 'zustand';
import _cloneDeep from 'lodash/cloneDeep';
import { Rest } from '@firecamp/cloud-apis';
import {
Expand Down
2 changes: 1 addition & 1 deletion platform/firecamp-platform/src/store/explorer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import create from 'zustand';
import { create } from 'zustand';
import { devtools } from 'zustand/middleware';
import { nanoid } from 'nanoid';
import _reject from 'lodash/reject';
Expand Down
2 changes: 1 addition & 1 deletion platform/firecamp-platform/src/store/modal.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import create from 'zustand';
import { create } from 'zustand';
import { EPlatformModalTypes } from '../types';

export interface IModalStore {
Expand Down
2 changes: 1 addition & 1 deletion platform/firecamp-platform/src/store/platform.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import create from 'zustand';
import { create } from 'zustand';
import { EFirecampAgent, IOrganization } from '@firecamp/types';
import { _misc } from '@firecamp/utils';
import * as executor from '@firecamp/agent-manager';
Expand Down
2 changes: 1 addition & 1 deletion platform/firecamp-platform/src/store/tab.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import create from 'zustand';
import { create } from 'zustand';
import _reject from 'lodash/reject';
import { nanoid } from 'nanoid';
import { ERequestTypes, TId } from '@firecamp/types';
Expand Down
2 changes: 1 addition & 1 deletion platform/firecamp-platform/src/store/user.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Rest } from '@firecamp/cloud-apis';
import { TId } from '@firecamp/types';
import { _object } from '@firecamp/utils';
import create from 'zustand';
import { create } from 'zustand';

export interface IUserStore {
isGuest: boolean;
Expand Down
2 changes: 1 addition & 1 deletion platform/firecamp-platform/src/store/workspace.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import create from 'zustand';
import { create } from 'zustand';
import { devtools } from 'zustand/middleware';
import { nanoid } from 'nanoid';
import _reject from 'lodash/reject';
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/firecamp-graphql/src/store/store.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import create from 'zustand';
import { create } from 'zustand';
import createContext from 'zustand/context';
import _cloneDeep from 'lodash/cloneDeep';
import { TId, IGraphQL } from '@firecamp/types';
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/firecamp-rest/src/store/store.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import _cloneDeep from 'lodash/cloneDeep';
import create from 'zustand';
import { create } from 'zustand';
import createContext from 'zustand/context';
import { TId, IRest } from '@firecamp/types';
import { _object, _env, _array, _string } from '@firecamp/utils';
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/firecamp-socket-io/src/store/store.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import create from 'zustand';
import { create } from 'zustand';
import createContext from 'zustand/context';
import _cloneDeep from 'lodash/cloneDeep';
import { ISocketIO, TId } from '@firecamp/types';
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/firecamp-websocket/src/store/store.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import create from 'zustand';
import { create } from 'zustand';
import createContext from 'zustand/context';
import _cloneDeep from 'lodash/cloneDeep';
import { _object } from '@firecamp/utils';
Expand Down