From 019f61d3bb5d61edf44c4deef24ff329801f319a Mon Sep 17 00:00:00 2001 From: Mostafa Ahangarha Date: Sat, 6 Apr 2024 00:35:39 +0330 Subject: [PATCH] Revert "Update importing css based on css-loader v7" This reverts commit bb28444171fdc4088c2b6e9dfb9144bd62d84adb. --- spec/dummy/client/app/startup/HelloWorld.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/dummy/client/app/startup/HelloWorld.jsx b/spec/dummy/client/app/startup/HelloWorld.jsx index 778cc6f50..63d57116f 100644 --- a/spec/dummy/client/app/startup/HelloWorld.jsx +++ b/spec/dummy/client/app/startup/HelloWorld.jsx @@ -3,7 +3,7 @@ import React from 'react'; import RailsContext from '../components/RailsContext'; // Example of CSS modules... -import * as css from '../components/HelloWorld.module.scss'; +import css from '../components/HelloWorld.module.scss'; // Super simple example of the simplest possible React component class HelloWorld extends React.Component {