This commit is contained in:
Arjun Patel
2026-04-20 19:05:51 -07:00
parent 4fd43ed5d5
commit cc16310d12
+1 -1
View File
@@ -30,7 +30,7 @@ export function useCreateParticle() {
mutationFn: async (params: CreateParticleParams) => {
const { networkId } = parseParticlePath(params.path);
// Containers aren't counted server-side, so we don't block them.
// Containers aren't counted server-side, so we block them here
if (!CONTAINER_TYPES.has(params.type)) {
const cached = qc.getQueryData<NetworkUsage>(networkUsageQueryKey(networkId));
if (isUsageExhausted(cached)) {