refactor(mock): remove lib/mock fixtures and empty stores
This commit is contained in:
+1
-2
@@ -1,4 +1,3 @@
|
||||
import { mockPlayers } from "@/lib/mock"
|
||||
import type { Player } from "@/lib/types"
|
||||
import { create } from "zustand"
|
||||
|
||||
@@ -9,7 +8,7 @@ interface PlayerState {
|
||||
}
|
||||
|
||||
export const usePlayerStore = create<PlayerState>((set) => ({
|
||||
players: mockPlayers,
|
||||
players: [],
|
||||
assignToShop: (playerId, shopId, shopName) =>
|
||||
set((state) => ({
|
||||
players: state.players.map((player) =>
|
||||
|
||||
Reference in New Issue
Block a user