Fixing Internal React Error Expected Static Flag Was Missing Error

Fixing Internal React Error Expected Static Flag Was Missing Error