case getType(editorFilenameChangeWithKey):
      return mapInstanceWithKey(state, action.meta.key, instance => ({
        ...instance,
        filename: action.payload.value,
      }));