From bb28444171fdc4088c2b6e9dfb9144bd62d84adb Mon Sep 17 00:00:00 2001 From: Mostafa Ahangarha Date: Sat, 6 Apr 2024 00:27:00 +0330 Subject: [PATCH] Update importing css based on css-loader v7 --- 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 63d57116f..778cc6f50 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 css from '../components/HelloWorld.module.scss'; +import * as css from '../components/HelloWorld.module.scss'; // Super simple example of the simplest possible React component class HelloWorld extends React.Component {