mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 13:00:25 +02:00
Migrate to Mantine v8 and Design Changes (#961)
* mantine v8 migration * various design changes and improvements
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import merge from 'lodash/merge';
|
||||
import { create } from 'zustand';
|
||||
import { devtools, persist } from 'zustand/middleware';
|
||||
import { immer } from 'zustand/middleware/immer';
|
||||
import { createWithEqualityFn } from 'zustand/traditional';
|
||||
|
||||
import { Platform } from '/@/shared/types/types';
|
||||
|
||||
@@ -42,7 +42,7 @@ type TitlebarProps = {
|
||||
outOfView: boolean;
|
||||
};
|
||||
|
||||
export const useAppStore = create<AppSlice>()(
|
||||
export const useAppStore = createWithEqualityFn<AppSlice>()(
|
||||
persist(
|
||||
devtools(
|
||||
immer((set, get) => ({
|
||||
|
||||
Reference in New Issue
Block a user