mirror of
				https://github.com/monkeytypegame/monkeytype.git
				synced 2025-11-01 03:39:15 +08:00 
			
		
		
		
	made sure config is not a reference to default config
This commit is contained in:
		
							parent
							
								
									5bf4b22a87
								
							
						
					
					
						commit
						6ec1738cb1
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -42,7 +42,9 @@ let defaultConfig = { | |||
| 
 | ||||
| let cookieConfig = null; | ||||
| 
 | ||||
| let config = defaultConfig; | ||||
| let config = { | ||||
|   ...defaultConfig, | ||||
| }; | ||||
| 
 | ||||
| //cookies
 | ||||
| function saveConfigToCookie() { | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue