It depends on the kind of cookies. As long as they’re just storing some settings it should be fine. However IANAL
Those cookies don’t need a warning.
https://commission.europa.eu/resources-partners/europa-web-g...
See “Cookies and similar technologies that generally do NOT need consent”.