diff --git a/packages/aws-amplify/src/Cache/StorageCache.ts b/packages/aws-amplify/src/Cache/StorageCache.ts index cb2c05bb2cc..0e2d1db0997 100644 --- a/packages/aws-amplify/src/Cache/StorageCache.ts +++ b/packages/aws-amplify/src/Cache/StorageCache.ts @@ -127,7 +127,6 @@ export default class StorageCache { if (config.keyPrefix) { logger.warn(`Don't try to configure keyPrefix!`); } - config.keyPrefix = this.config.keyPrefix; this.config = Object.assign({}, this.config, config); this.checkConfig();