Skip to content

Commit

Permalink
fix import statement
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceau committed Jan 4, 2024
1 parent 7fe2de0 commit 1ffb3c7
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/renderer/containers/login_form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Button from "@mui/material/Button";
import IconButton from "@mui/material/IconButton";
import TextField from "@mui/material/TextField";
import React from "react";
import create from "zustand";
import { create } from "zustand";
import { combine } from "zustand/middleware";

import { useAsync } from "@/lib/hooks/use_async";
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/lib/dolphin/use_dolphin_store.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { DolphinLaunchType } from "@dolphin/types";
import { unstable_batchedUpdates } from "react-dom";
import create from "zustand";
import { create } from "zustand";

export enum DolphinStatus {
UNKNOWN = "UNKNOWN",
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/lib/hooks/use_account.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useCallback } from "react";
import create from "zustand";
import { create } from "zustand";
import { combine } from "zustand/middleware";

import { useServices } from "@/services";
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/lib/hooks/use_advanced_user.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import create from "zustand";
import { create } from "zustand";
import { combine } from "zustand/middleware";

const ADVANCED_USER_STORAGE_KEY = "IS_ADVANCED_USER";
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/lib/hooks/use_app.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { DolphinLaunchType } from "@dolphin/types";
import log from "electron-log";
import create from "zustand";
import { create } from "zustand";
import { combine } from "zustand/middleware";

import { useAccount } from "@/lib/hooks/use_account";
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/lib/hooks/use_broadcast_list.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { BroadcasterItem } from "@broadcast/types";
import throttle from "lodash/throttle";
import create from "zustand";
import { create } from "zustand";
import { combine } from "zustand/middleware";

import { useToasts } from "@/lib/hooks/use_toasts";
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/lib/hooks/use_console.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ConnectionStatus } from "@slippi/slippi-js";
import create from "zustand";
import { create } from "zustand";

type StoreState = {
isBroadcasting: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/lib/hooks/use_console_discovery.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { ConsoleMirrorStatusUpdate, DiscoveredConsoleInfo } from "@console/types";
import { produce } from "immer";
import create from "zustand";
import { create } from "zustand";
import { combine } from "zustand/middleware";

export const useConsoleDiscoveryStore = create(
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/lib/hooks/use_iso_verification.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { IsoValidity } from "@common/types";
import create from "zustand";
import { create } from "zustand";
import { combine } from "zustand/middleware";

export const useIsoVerification = create(
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/lib/hooks/use_login_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 { combine } from "zustand/middleware";

export const useLoginModal = create(
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/lib/hooks/use_quick_start.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { currentRulesVersion } from "@common/constants";
import React from "react";
import { useNavigate } from "react-router-dom";
import create from "zustand";
import { create } from "zustand";
import { combine } from "zustand/middleware";

import { useSettings } from "@/lib/hooks/use_settings";
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/lib/hooks/use_replay_filter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import create from "zustand";
import { create } from "zustand";
import { combine } from "zustand/middleware";

import { ReplaySortOption, SortDirection } from "../replay_file_sort";
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/lib/hooks/use_settings.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { DolphinLaunchType } from "@dolphin/types";
import type { AppSettings } from "@settings/types";
import { useCallback } from "react";
import create from "zustand";
import { create } from "zustand";
import { combine } from "zustand/middleware";

const initialState = window.electron.settings.getAppSettingsSync();
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/lib/hooks/use_settings_modal.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useCallback } from "react";
import { useLocation, useMatch, useNavigate, useResolvedPath } from "react-router-dom";
import create from "zustand";
import { create } from "zustand";

type StoreState = {
lastModalPage?: string;
Expand Down

0 comments on commit 1ffb3c7

Please sign in to comment.